2008-10-11 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Sat, 11 Oct 2008 08:15:42 +0000 (08:15 -0000)
committerZoltan Varga <vargaz@gmail.com>
Sat, 11 Oct 2008 08:15:42 +0000 (08:15 -0000)
* TimerTest.cs (TestChange): Modify a constant to avoid a random assert.

svn path=/trunk/mcs/; revision=115511

mcs/class/corlib/Test/System.Threading/ChangeLog
mcs/class/corlib/Test/System.Threading/TimerTest.cs

index 96bcb8886e84255b756ad6809e384ced26f65711..170c77af1aa8f5cc9c88cc4249e93cd1fe93fde8 100644 (file)
@@ -1,3 +1,7 @@
+2008-10-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * TimerTest.cs (TestChange): Modify a constant to avoid a random assert.
+
 2008-07-07  Bill Holmes  <billholmes54@gmail.com>
 
        * ThreadTest.cs : Tests added for Thread.Interrupt.
index 1a48c8c4e2115c86f21e5e414f187ba0612b7fca..2749d99b759b24b4635c28316090ad48fc15516f 100644 (file)
@@ -59,7 +59,7 @@ namespace MonoTests.System.Threading {
                        Assert.IsTrue(c > 20, "#1");
                        t.Change (100, 100);
                        Thread.Sleep (500);
-                       Assert.IsTrue(bucket.count <= c + 6, "#2");
+                       Assert.IsTrue(bucket.count <= c + 20, "#2");
                        t.Dispose ();
                }