activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1071810 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/MessageProducerTest.cs
Date Thu, 17 Feb 2011 22:11:39 GMT
Author: tabish
Date: Thu Feb 17 22:11:39 2011
New Revision: 1071810

URL: http://svn.apache.org/viewvc?rev=1071810&view=rev
Log:
Apparently under very heavy CPU load the clock / timer can be inaccurate so give this test
a bit more leaway.

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

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/MessageProducerTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/MessageProducerTest.cs?rev=1071810&r1=1071809&r2=1071810&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/MessageProducerTest.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/MessageProducerTest.cs
Thu Feb 17 22:11:39 2011
@@ -54,7 +54,7 @@ namespace Apache.NMS.ActiveMQ.Test
 						
 						TimeSpan elapsed = DateTime.Now - start;
 						// Make sure we timed out.
-						Assert.GreaterOrEqual((int) elapsed.TotalMilliseconds, timeout - 10, "Did not reach
timeout limit.");
+						Assert.GreaterOrEqual((int) elapsed.TotalMilliseconds, timeout - 75, "Did not reach
timeout limit.");
 					}
 				}
 			}



Mime
View raw message