You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/08/31 15:33:42 UTC
svn commit: r991185 -
/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/Transport/failover/FailoverTransportTest.cs
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.");