NO-JIRA Fixing assertActiveSession on ClientCrashTest::testCrashClient2
This commit is contained in:
parent
32ec602eaf
commit
75d61f606b
|
@ -155,10 +155,10 @@ public class ClientCrashTest extends ClientTestBase {
|
||||||
|
|
||||||
System.out.println("VM Exited");
|
System.out.println("VM Exited");
|
||||||
|
|
||||||
long timeout = ClientCrashTest.CONNECTION_TTL + ClientCrashTest.PING_PERIOD + 10000;
|
long timeout = ClientCrashTest.CONNECTION_TTL + ClientCrashTest.PING_PERIOD + 10000L;
|
||||||
|
|
||||||
assertActiveConnections(1, timeout);
|
assertActiveConnections(1, timeout);
|
||||||
assertActiveSession(2, timeout);
|
assertActiveSession(1, timeout);
|
||||||
|
|
||||||
ClientConsumer consumer = session.createConsumer(ClientCrashTest.QUEUE2);
|
ClientConsumer consumer = session.createConsumer(ClientCrashTest.QUEUE2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue