Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2011-09-22 21:26:01 +0400
committerMarek Safar <marek.safar@gmail.com>2011-09-22 21:39:41 +0400
commite348cb5e2d493ac50800fb433d20ff5eee5b0b44 (patch)
tree97ab47d3b658f1d10cd45d785c6b051b38c063a1
parent4e5add05fc2b6b129725c0ed8845cb0041c625b7 (diff)
Update test with timeout
-rw-r--r--mcs/tests/test-async-23.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcs/tests/test-async-23.cs b/mcs/tests/test-async-23.cs
index a198efb1054..ed5d3ebe448 100644
--- a/mcs/tests/test-async-23.cs
+++ b/mcs/tests/test-async-23.cs
@@ -50,7 +50,8 @@ public class TestPostContext
try {
SynchronizationContext.SetSynchronizationContext (context);
var t = Test ();
- Task.WaitAll (t);
+ if (!t.Wait (1000))
+ return 3;
} finally {
SynchronizationContext.SetSynchronizationContext (null);
}