activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r991185 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Transport/failover/FailoverTransportTest.cs
Date Tue, 31 Aug 2010 13:33:42 GMT
Author: tabish
Date: Tue Aug 31 13:33:41 2010
New Revision: 991185

URL: http://svn.apache.org/viewvc?rev=991185&view=rev
Log:
Add a longer wait to allow the Transport to reconnect on slower hardware.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Transport/failover/FailoverTransportTest.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Transport/failover/FailoverTransportTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Transport/failover/FailoverTransportTest.cs?rev=991185&r1=991184&r2=991185&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Transport/failover/FailoverTransportTest.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Transport/failover/FailoverTransportTest.cs
Tue Aug 31 13:33:41 2010
@@ -436,7 +436,7 @@ namespace Apache.NMS.ActiveMQ.Test
 				failover.Resumed = OnResumed;
 
 				transport.Start();
-				Thread.Sleep(1000);
+				Thread.Sleep(2000);
 				Assert.IsTrue(failover.IsConnected);
 
 				// Ensure the current mock transport has the correct outgoing command handler
@@ -454,7 +454,7 @@ namespace Apache.NMS.ActiveMQ.Test
 				});
 
 				failover.Remove(true, "mock://localhost:61613");
-				Thread.Sleep(1000);
+				Thread.Sleep(2000);
 
 				mock = transport.Narrow(typeof(MockTransport)) as MockTransport;
 				Assert.IsNotNull(mock, "Error reconnecting to failover broker.");



Mime
View raw message