Niels Basjes created AVRO-3718:
----------------------------------

             Summary: Flaky NettyServer test
                 Key: AVRO-3718
                 URL: https://issues.apache.org/jira/browse/AVRO-3718
             Project: Apache Avro
          Issue Type: Bug
            Reporter: Niels Basjes


On a regular basis the TestNettyServer.connectionsCount fails in the Github 
Actions CI.

When you rerun the same test is usually passes.
{code:java}
[INFO] --- maven-surefire-plugin:3.0.0-M8:test (default-test) @ avro-ipc-netty 
---
3498[INFO] Tests will run in random order. To reproduce ordering use flag 
-Dsurefire.runOrder.random.seed=371358370820
3499[INFO] Using auto detected provider 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
3500[INFO] 
3501[INFO] -------------------------------------------------------
3502[INFO]  T E S T S
3503[INFO] -------------------------------------------------------
3504[INFO] Running org.apache.avro.ipc.netty.TestNettyServer
3505Error:  Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
4.626 s <<< FAILURE! - in org.apache.avro.ipc.netty.TestNettyServer
3506Error:  org.apache.avro.ipc.netty.TestNettyServer.connectionsCount  Time 
elapsed: 0.01 s  <<< FAILURE!
3507org.opentest4j.AssertionFailedError: expected: <2> but was: <3>
3508    at 
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
3509    at 
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
3510    at 
org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
3511{code}
 

 



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

Reply via email to