Skip to content

Commit 08ff688

Browse files
artembilanspring-builds
authored andcommitted
RetryingTest for TcpNioConnTests.nioAssemblerThreadIsReleased
(cherry picked from commit 6cdb31b)
1 parent 9a3f20a commit 08ff688

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
@@ -58,6 +58,7 @@
5858
import org.apache.commons.logging.LogFactory;
5959
import org.junit.jupiter.api.Test;
6060
import org.junit.jupiter.api.TestInfo;
61+
import org.junitpioneer.jupiter.RetryingTest;
6162
import org.mockito.Mockito;
6263
import org.mockito.invocation.InvocationOnMock;
6364
import org.mockito.stubbing.Answer;
@@ -682,7 +683,7 @@ private CompositeExecutor compositeExecutor() {
682683
return new CompositeExecutor(ioExec, assemblerExec);
683684
}
684685

685-
@Test
686+
@RetryingTest(10)
686687
public void nioAssemblerThreadIsReleased() throws Exception {
687688
TcpNioServerConnectionFactory factory = new TcpNioServerConnectionFactory(0);
688689
final CountDownLatch connectionLatch = new CountDownLatch(1);

0 commit comments

Comments
 (0)