From e5b8237d2b178f68c96c3b35db90f60ec6a38d96 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Wed, 8 Apr 2020 22:41:06 -0400 Subject: [PATCH] NO-JIRA Increasing timeout on test and avoiding intermittent failure --- .../integration/stomp/StompWithRejectingInterceptorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompWithRejectingInterceptorTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompWithRejectingInterceptorTest.java index 736a56a2eb..7de354413a 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompWithRejectingInterceptorTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompWithRejectingInterceptorTest.java @@ -56,7 +56,7 @@ public class StompWithRejectingInterceptorTest extends StompTestBase { conn.sendFrame(frame); conn.disconnect(); - assertTrue(Wait.waitFor(() -> IncomingStompFrameRejectInterceptor.interceptedFrames.size() == 3, 2000, 50)); + assertTrue(Wait.waitFor(() -> IncomingStompFrameRejectInterceptor.interceptedFrames.size() == 3, 10000, 50)); List incomingCommands = new ArrayList<>(4); incomingCommands.add("CONNECT");