activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r830002 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/DedicatedTaskRunnerTest.cs
Date Mon, 26 Oct 2009 22:21:42 GMT
Author: tabish
Date: Mon Oct 26 22:21:41 2009
New Revision: 830002

URL: http://svn.apache.org/viewvc?rev=830002&view=rev
Log:
Update test code

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/DedicatedTaskRunnerTest.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/DedicatedTaskRunnerTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/DedicatedTaskRunnerTest.cs?rev=830002&r1=830001&r2=830002&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/DedicatedTaskRunnerTest.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Threads/DedicatedTaskRunnerTest.cs
Mon Oct 26 22:21:41 2009
@@ -85,20 +85,20 @@
             DedicatedTaskRunner simpleTaskRunner = new DedicatedTaskRunner(simpleTask);
 
             simpleTaskRunner.Wakeup();
-            Thread.Sleep( 250 );
+            Thread.Sleep( 500 );
             Assert.IsTrue( simpleTask.Count >= 1 );
             simpleTaskRunner.Wakeup();
-            Thread.Sleep( 250 );
+            Thread.Sleep( 500 );
             Assert.IsTrue( simpleTask.Count >= 2 );
         
             InfiniteCountingTask infiniteTask = new InfiniteCountingTask();
             Assert.IsTrue( infiniteTask.Count == 0 );
             DedicatedTaskRunner infiniteTaskRunner = new DedicatedTaskRunner(infiniteTask);
-            Thread.Sleep( 250 );
+            Thread.Sleep( 500 );
             Assert.IsTrue( infiniteTask.Count != 0 );
             infiniteTaskRunner.Shutdown();
             uint count = infiniteTask.Count;
-            Thread.Sleep( 250 );
+            Thread.Sleep( 500 );
             Assert.IsTrue( infiniteTask.Count == count );
         
         }



Mime
View raw message