Adjusted timeouts for build server.

This commit is contained in:
Mark Fisher
2008-01-08 02:36:11 +00:00
parent bb248119d3
commit 46162279f8
2 changed files with 2 additions and 2 deletions

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(1000, TimeUnit.MILLISECONDS);
latch.await(2000, TimeUnit.MILLISECONDS);
assertEquals(messagesToSend, counter.get());
}

View File

@@ -204,7 +204,7 @@ public class PointToPointChannelTests {
public boolean accept(Message<?> message) {
return (((Integer)message.getId()).intValue() == 3);
}
}, 100);
}, 500);
messageRef.set(message);
latch.countDown();
}