ARTEMIS-1112: Fixed occasionally failing test

There was a typo in this test that could cause it to fail.
This commit is contained in:
Bernd Gutjahr 2017-05-04 11:15:05 +02:00
parent e372c0a767
commit 7aa50546b3
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public class SharedStoreDontWaitForActivationTest extends ClusterTestBase {
server0.start(); server0.start();
// server 0 is live // server 0 is live
assertTrue(server1.waitForActivation(5, TimeUnit.SECONDS)); assertTrue(server0.waitForActivation(5, TimeUnit.SECONDS));
server1.start(); server1.start();
// server 1 is backup // server 1 is backup
assertFalse(server1.waitForActivation(1, TimeUnit.SECONDS)); assertFalse(server1.waitForActivation(1, TimeUnit.SECONDS));