Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-15628

Fix flakey testSendLarge - org.apache.cassandra.net.ConnectionTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 4.0-alpha4, 4.0
    • Test/unit
    • None
    • Correctness - Test Failure
    • Normal
    • Normal
    • Unit Test
    • All
    • None

    Description

      The test fails sometimes with the following error message and trace.

      received count values don't match expected:<10> but was:<9>
      
      junit.framework.AssertionFailedError: received count values don't match expected:<10> but was:<9>
      at org.apache.cassandra.net.ConnectionUtils$InboundCountChecker.doCheck(ConnectionUtils.java:212)
      at org.apache.cassandra.net.ConnectionUtils$InboundCountChecker.check(ConnectionUtils.java:200)
      at org.apache.cassandra.net.ConnectionTest.lambda$testSendLarge$15(ConnectionTest.java:359)
      at org.apache.cassandra.net.ConnectionTest.lambda$doTest$8(ConnectionTest.java:242)
      at org.apache.cassandra.net.ConnectionTest.doTestManual(ConnectionTest.java:262)
      at org.apache.cassandra.net.ConnectionTest.doTest(ConnectionTest.java:240)
      at org.apache.cassandra.net.ConnectionTest.test(ConnectionTest.java:229)
      at org.apache.cassandra.net.ConnectionTest.testSendLarge(ConnectionTest.java:312)
      

      Attachments

        Issue Links

          Activity

            People

              e.dimitrova Ekaterina Dimitrova
              yifanc Yifan Cai
              Ekaterina Dimitrova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: