NO-JIRA Fixing intermittent failures on BridgeTest
This commit is contained in:
parent
41f62b9de2
commit
0abe7e7bc0
|
@ -751,7 +751,8 @@ public class BridgeTest extends ActiveMQTestBase {
|
|||
|
||||
server1.start();
|
||||
|
||||
Thread.sleep(1000);
|
||||
Wait.assertTrue(server1::isActive);
|
||||
|
||||
|
||||
ClientSessionFactory sf1 = locator.createSessionFactory(server1tc);
|
||||
|
||||
|
@ -885,8 +886,6 @@ public class BridgeTest extends ActiveMQTestBase {
|
|||
tx.commit();
|
||||
}
|
||||
|
||||
Thread.sleep(100);
|
||||
|
||||
|
||||
ClientSessionFactory sf1 = locator.createSessionFactory(server1tc);
|
||||
|
||||
|
@ -1578,8 +1577,8 @@ public class BridgeTest extends ActiveMQTestBase {
|
|||
public void run() {
|
||||
try {
|
||||
System.out.println("Stopping server");
|
||||
latch.countDown();
|
||||
serverToStop.fail(false);
|
||||
latch.countDown();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue