Skip to content

Commit 6cdb31b

Browse files
committed
RetryingTest for TcpNioConnTests.nioAssemblerThreadIsReleased
**Auto-cherry-pick to `6.5.x`**
1 parent c61ae55 commit 6cdb31b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/connection/TcpNioConnectionTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
import org.jspecify.annotations.Nullable;
6060
import org.junit.jupiter.api.Test;
6161
import org.junit.jupiter.api.TestInfo;
62+
import org.junitpioneer.jupiter.RetryingTest;
6263
import org.mockito.Mockito;
6364
import org.mockito.stubbing.Answer;
6465

@@ -673,7 +674,7 @@ private static CompositeExecutor compositeExecutor() {
673674
return new CompositeExecutor(ioExec, assemblerExec);
674675
}
675676

676-
@Test
677+
@RetryingTest(10)
677678
public void nioAssemblerThreadIsReleased() throws Exception {
678679
TcpNioServerConnectionFactory factory = new TcpNioServerConnectionFactory(0);
679680
factory.setTaskScheduler(mock());

0 commit comments

Comments
 (0)