Make DurablePersistentFalseRestartTest more robut on slow machine

This commit is contained in:
Jean-Baptiste Onofré 2020-05-21 08:13:51 +02:00
parent 2d83af17ba
commit 4bb7b1806c
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ public class DurablePersistentFalseRestartTest extends BrokerRestartTestSupport
// make failover aware of the restarted auto assigned port // make failover aware of the restarted auto assigned port
((FailoverTransport) connection.getTransport().narrow(FailoverTransport.class)).add(true, broker.getTransportConnectors().get(0).getPublishableConnectString()); ((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); assertNull("did not get a message when persistent=false, message: " + msg, msg);
connection.close(); connection.close();