giving this test a little more time as it may be exposing a threading issue with a blocked reconnect

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811017 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2009-09-03 16:30:50 +00:00
parent d88004fe5d
commit bf32e4f7da
1 changed files with 2 additions and 2 deletions

View File

@ -141,13 +141,13 @@ public class DiscoveryNetworkReconnectTest {
return proxy.connections.size() == 1; return proxy.connections.size() == 1;
} }
})); }));
Thread.sleep(1000); Thread.sleep(3000);
// force an inactivity timeout timeout // force an inactivity timeout timeout
proxy.pause(); proxy.pause();
// wait for the inactivity timeout // wait for the inactivity timeout
Thread.sleep(3000); Thread.sleep(6000);
// let a reconnect succeed // let a reconnect succeed
proxy.goOn(); proxy.goOn();