Skip to content

Commit 1b864b7

Browse files
committed
@@RetryingTest for TcpOutboundGatewayTests.testNioSecondChance()
**Auto-cherry-pick to `7.0.x`**
1 parent b2c6ea9 commit 1b864b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/outbound/TcpOutboundGatewayTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ private void testGWPropagatesSocketTimeoutGuts(AbstractClientConnectionFactory c
898898
ccf.stop();
899899
}
900900

901-
@Test
901+
@RetryingTest(10)
902902
void testNioSecondChance() throws Exception {
903903
ServerSocket server = ServerSocketFactory.getDefault().createServerSocket(0);
904904
final int port = server.getLocalPort();

0 commit comments

Comments
 (0)