activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r988582 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/MessageProducerTest.cs
Date Tue, 24 Aug 2010 14:56:59 GMT
Author: tabish
Date: Tue Aug 24 14:56:59 2010
New Revision: 988582

URL: http://svn.apache.org/viewvc?rev=988582&view=rev
Log:
Add a bit more delta to the test for timeout compliance.

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=988582&r1=988581&r2=988582&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
Tue Aug 24 14:56:59 2010
@@ -46,7 +46,7 @@ namespace Apache.NMS.ActiveMQ.Test
 						producer.Send(message);
 						TimeSpan elapsed = DateTime.Now - start;
 						// Make sure we timed out.
-						Assert.GreaterOrEqual((int) elapsed.TotalMilliseconds, timeout, "Did not reach timeout
limit.");
+						Assert.GreaterOrEqual((int) elapsed.TotalMilliseconds, timeout - 10, "Did not reach
timeout limit.");
 					}
 				}
 			}



Mime
View raw message