Bump timeout for TaskTests.Delay_Simple (#5410)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 21 Aug 2017 11:45:58 +0000 (13:45 +0200)
committerGitHub <noreply@github.com>
Mon, 21 Aug 2017 11:45:58 +0000 (13:45 +0200)
Should be reverted once https://bugzilla.xamarin.com/show_bug.cgi?id=58877 is investigated and fixed.

mcs/class/corlib/Test/System.Threading.Tasks/TaskTest.cs

index 1cf78170bce5425cb632778321ca355ab3e3937b..2bc45681cebc5f7e05d926960bb2fe012b8cd6f9 100644 (file)
@@ -1258,7 +1258,7 @@ namespace MonoTests.System.Threading.Tasks
                {
                        var t = Task.Delay (300);
                        Assert.IsTrue (TaskStatus.WaitingForActivation == t.Status || TaskStatus.Running == t.Status, "#1");
-                       Assert.IsTrue (t.Wait (400), "#2");
+                       Assert.IsTrue (t.Wait (1200), "#2");
                }
 
                [Test]