Increase timeout for Stomp integration tests

This commit is contained in:
Phillip Webb
2013-10-18 16:19:33 -07:00
parent d2eff4ead6
commit 59fcf5014f

View File

@@ -595,7 +595,7 @@ public class StompBrokerRelayMessageHandlerIntegrationTests {
public void awaitAndAssert() throws InterruptedException {
synchronized(this.monitor) {
long endTime = System.currentTimeMillis() + 5000;
long endTime = System.currentTimeMillis() + 6000;
while (this.expected.size() != this.actual.size() && System.currentTimeMillis() < endTime) {
this.monitor.wait(500);
}