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:
Gary Tully 2011-03-09 11:43:29 +00:00
parent da66c46847
commit fe0a764836
1 changed files with 1 additions and 1 deletions

View File

@ -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());