improve test behaviour on slow ci boxes

This commit is contained in:
Dejan Bosanac 2014-12-29 11:12:52 +01:00
parent c646fac75a
commit 5c199c3d9f
1 changed files with 5 additions and 5 deletions

View File

@ -102,7 +102,7 @@ public class NetworkOfTwentyBrokersTest extends JmsMultipleBrokersTestSupport {
LOG.info("Waiting for complete formation");
try {
Thread.sleep(10000);
Thread.sleep(20000);
} catch (Exception e) {
}
@ -115,11 +115,11 @@ public class NetworkOfTwentyBrokersTest extends JmsMultipleBrokersTestSupport {
LOG.info("Waiting for complete stop");
try {
Thread.sleep(10000);
Thread.sleep(20000);
} catch (Exception e) {
}
verifyPeerBrokerInfos((X/2) -1);
verifyPeerBrokerInfos((X/2) - 1);
LOG.info("Recreating first half");
for (i = 0; i < X/2; i++) {
@ -132,7 +132,7 @@ public class NetworkOfTwentyBrokersTest extends JmsMultipleBrokersTestSupport {
LOG.info("Waiting for complete reformation");
try {
Thread.sleep(10000);
Thread.sleep(20000);
} catch (Exception e) {
}
@ -188,7 +188,7 @@ public class NetworkOfTwentyBrokersTest extends JmsMultipleBrokersTestSupport {
LOG.info("verify infos " + broker.getBrokerName() + ", len: " + regionBroker.getPeerBrokerInfos().length);
return max == regionBroker.getPeerBrokerInfos().length;
}
});
}, 120 * 1000);
LOG.info("verify infos " + broker.getBrokerName() + ", len: " + regionBroker.getPeerBrokerInfos().length);
for (BrokerInfo info : regionBroker.getPeerBrokerInfos()) {
LOG.info(info.getBrokerName());