ARTEMIS-2560 Re-applying fix on a test properly

This commit is contained in:
Clebert Suconic 2019-12-03 10:10:18 -05:00
parent 3db5ffd40c
commit 54e3f167bb
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ public class AMQPMessageRedistributionTest extends ClusterTestBase {
TextMessage msg = (TextMessage) consumer.receive(5000);
assertNotNull(msg);
}
Message msg = consumer.receive(2000);
Message msg = consumer.receiveNoWait();
assertNull(msg);
connection.close();
}