Skip to content

Commit 80ffba6

Browse files
artembilanspring-builds
authored andcommitted
RetryingTest for ClientWebSocketContainerTests
Timing race condition for CPU resources (cherry picked from commit 98a4d0d)
1 parent 1b67768 commit 80ffba6

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;
@@ -68,7 +69,7 @@ public static void tearDown() throws Exception {
6869
server.destroy();
6970
}
7071

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

0 commit comments

Comments
 (0)