NO-JIRA Increasing timeout on test and avoiding intermittent failure
This commit is contained in:
parent
4d7c4ea51c
commit
e5b8237d2b
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue