mirror of https://github.com/apache/activemq.git
increased timeout to ensure test always works
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383632 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d9b9427a5f
commit
d5193d217f
|
@ -444,7 +444,7 @@ abstract public class JmsTransactionTestSupport extends TestSupport implements M
|
|||
session.commit();
|
||||
|
||||
log.info("About to consume message 1");
|
||||
Message message = consumer.receive(1000);
|
||||
Message message = consumer.receive(5000);
|
||||
|
||||
List body = assertReceivedObjectMessageWithListBody(message);
|
||||
|
||||
|
@ -460,7 +460,7 @@ abstract public class JmsTransactionTestSupport extends TestSupport implements M
|
|||
body.add("This should never be seen!");
|
||||
session.rollback();
|
||||
|
||||
message = consumer.receive(1000);
|
||||
message = consumer.receive(5000);
|
||||
List secondBody = assertReceivedObjectMessageWithListBody(message);
|
||||
assertNotSame("Second call should return a different body", secondBody, body);
|
||||
session.commit();
|
||||
|
|
Loading…
Reference in New Issue