INT-3146 Fix Test Timing Issue
Wait for server connection factory to start listening for new tests.
This commit is contained in:
@@ -367,6 +367,7 @@ public class CachingClientConnectionFactoryTests {
|
||||
}
|
||||
|
||||
private void testCloseOnTimeoutGuts(AbstractClientConnectionFactory cf) throws Exception, InterruptedException {
|
||||
TestingUtilities.waitListening(serverCf, null);
|
||||
cf.setSoTimeout(100);
|
||||
CachingClientConnectionFactory cccf = new CachingClientConnectionFactory(cf, 1);
|
||||
cccf.start();
|
||||
|
||||
Reference in New Issue
Block a user