[tests] Bump sleep for pinvoke3 test (mono/mono#15937)
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 31 Jul 2019 21:24:06 +0000 (00:24 +0300)
committerGitHub <noreply@github.com>
Wed, 31 Jul 2019 21:24:06 +0000 (00:24 +0300)
commit1bdf64bd23ae0b6bf49528fbaf041f647f7606c6
tree9a97f97151da1a7cc7d2c1a0cf23089f68cde330
parent3cf676bbdc68040ce021859f1035a35c2d347206
[tests] Bump sleep for pinvoke3 test (mono/mono#15937)

On some operating systems, this test can take forever because the worker starves the other threads by holding the gc_lock. Bump sleeping so it doesn't rely on OS scheduling that much and guarantees other threads can progress in reasonable amount of time.

Commit migrated from https://github.com/mono/mono/commit/985a1c33f26b698c10a0789ae5b241059c2d203f
src/mono/mono/tests/pinvoke3.cs