Skip to content

Commit 98a4d0d

Browse files
committed
RetryingTest for ClientWebSocketContainerTests
Timing race condition for CPU resources **Auto-cherry-pick to `7.0.x` & `6.5.x`**
1 parent f5a9e8f commit 98a4d0d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spring-integration-websocket/src/test/java/org/springframework/integration/websocket/ClientWebSocketContainerTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import org.junit.jupiter.api.AfterAll;
3333
import org.junit.jupiter.api.BeforeAll;
3434
import org.junit.jupiter.api.Test;
35+
import org.junitpioneer.jupiter.RetryingTest;
3536

3637
import org.springframework.http.HttpHeaders;
3738
import org.springframework.integration.test.util.TestUtils;
@@ -69,7 +70,7 @@ public static void tearDown() throws Exception {
6970
server.destroy();
7071
}
7172

72-
@Test
73+
@RetryingTest(10)
7374
public void testClientWebSocketContainer() throws Exception {
7475
AtomicBoolean failure = new AtomicBoolean();
7576

0 commit comments

Comments
 (0)