NO-JIRA Increasing timeout on test and avoiding intermittent failure

This commit is contained in:
Clebert Suconic 2020-04-08 22:41:06 -04:00
parent 4d7c4ea51c
commit e5b8237d2b
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public class StompWithRejectingInterceptorTest extends StompTestBase {
conn.sendFrame(frame); conn.sendFrame(frame);
conn.disconnect(); conn.disconnect();
assertTrue(Wait.waitFor(() -> IncomingStompFrameRejectInterceptor.interceptedFrames.size() == 3, 2000, 50)); assertTrue(Wait.waitFor(() -> IncomingStompFrameRejectInterceptor.interceptedFrames.size() == 3, 10000, 50));
List<String> incomingCommands = new ArrayList<>(4); List<String> incomingCommands = new ArrayList<>(4);
incomingCommands.add("CONNECT"); incomingCommands.add("CONNECT");