mirror of
https://github.com/apache/activemq.git
synced 2025-02-17 15:35:36 +00:00
give test plenty of time before failing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1079757 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
da66c46847
commit
fe0a764836
@ -134,7 +134,7 @@ public class TopicProducerFlowControlTest extends TestCase implements MessageLis
|
||||
public boolean isSatisified() throws Exception {
|
||||
return consumed.get() == numMessagesToSend;
|
||||
}
|
||||
}, 60 * 1000);
|
||||
}, 5 * 60 * 1000); // give it plenty of time before failing
|
||||
|
||||
assertEquals("Didn't produce all messages", numMessagesToSend, produced.get());
|
||||
assertEquals("Didn't consume all messages", numMessagesToSend, consumed.get());
|
||||
|
Loading…
x
Reference in New Issue
Block a user