Increased latch await timeout due to timing issues on build server.

This commit is contained in:
Mark Fisher
2007-12-27 20:55:58 +00:00
parent e438697a7e
commit 81d4ff5d43

View File

@@ -65,7 +65,7 @@ public class FixedDelayConsumerTests {
for (int i = 0; i < messagesToSend; i++) {
channel.send(new GenericMessage<String>(1, "test " + (i+1)));
}
latch.await(250, TimeUnit.MILLISECONDS);
latch.await(1000, TimeUnit.MILLISECONDS);
assertEquals(messagesToSend, counter.get());
}