mirror of https://github.com/apache/activemq.git
Make DurablePersistentFalseRestartTest more robut on slow machine
This commit is contained in:
parent
2d83af17ba
commit
4bb7b1806c
|
@ -60,7 +60,7 @@ public class DurablePersistentFalseRestartTest extends BrokerRestartTestSupport
|
|||
// make failover aware of the restarted auto assigned port
|
||||
((FailoverTransport) connection.getTransport().narrow(FailoverTransport.class)).add(true, broker.getTransportConnectors().get(0).getPublishableConnectString());
|
||||
|
||||
TextMessage msg = (TextMessage) consumer.receive(4000);
|
||||
TextMessage msg = (TextMessage) consumer.receive(8000);
|
||||
assertNull("did not get a message when persistent=false, message: " + msg, msg);
|
||||
|
||||
connection.close();
|
||||
|
|
Loading…
Reference in New Issue