We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 821c771 commit edaa55aCopy full SHA for edaa55a
1 file changed
spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/TcpOutboundGatewayTests.java
@@ -45,6 +45,7 @@
45
import org.apache.commons.logging.Log;
46
import org.apache.commons.logging.LogFactory;
47
import org.junit.jupiter.api.Test;
48
+import org.junitpioneer.jupiter.RetryingTest;
49
import org.mockito.Mockito;
50
51
import org.springframework.beans.factory.BeanFactory;
@@ -319,7 +320,7 @@ void testGoodNetGWTimeout() throws Exception {
319
320
serverSocket.close();
321
}
322
- @Test
323
+ @RetryingTest(10)
324
void testGoodNetGWTimeoutCached() throws Exception {
325
ServerSocket serverSocket = ServerSocketFactory.getDefault().createServerSocket(0);
326
final int port = serverSocket.getLocalPort();
0 commit comments