Attila Doroszlai created RATIS-2675:
---------------------------------------

             Summary: TestTlsConfWithNetty may fail with address already in use
                 Key: RATIS-2675
                 URL: https://issues.apache.org/jira/browse/RATIS-2675
             Project: Ratis
          Issue Type: Bug
          Components: test
            Reporter: Attila Doroszlai


TestTlsConfWithNetty uses random port, may fail with:

{code}
[ERROR] Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.092 s 
<<< FAILURE! -- in org.apache.ratis.netty.TestTlsConfWithNetty
[ERROR] org.apache.ratis.netty.TestTlsConfWithNetty.testNoSsl -- Time elapsed: 
0.007 s <<< ERROR!
org.apache.ratis.thirdparty.io.netty.channel.unix.Errors$NativeIoException: 
bind(..) failed with error(-98): Address already in use
        Suppressed: java.lang.RuntimeException: Rethrowing promise failure cause
                at 
org.apache.ratis.thirdparty.io.netty.util.concurrent.DefaultPromise.rethrowIfFailed(DefaultPromise.java:686)
                at 
org.apache.ratis.thirdparty.io.netty.util.concurrent.DefaultPromise.syncUninterruptibly(DefaultPromise.java:427)
                at 
org.apache.ratis.thirdparty.io.netty.channel.DefaultChannelPromise.syncUninterruptibly(DefaultChannelPromise.java:125)
                at 
org.apache.ratis.thirdparty.io.netty.channel.DefaultChannelPromise.syncUninterruptibly(DefaultChannelPromise.java:30)
                at 
org.apache.ratis.netty.TestTlsConfWithNetty$NettyTestServer.<init>(TestTlsConfWithNetty.java:234)
                at 
org.apache.ratis.netty.TestTlsConfWithNetty.runTest(TestTlsConfWithNetty.java:199)
                at 
org.apache.ratis.netty.TestTlsConfWithNetty.testNoSsl(TestTlsConfWithNetty.java:90)
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to