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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Fix Version/s: 4.0, 4.0-alpha4
    • Component/s: Test/unit
    • Labels:
      None
    • Bug Category:
      Correctness - Test Failure
    • Severity:
      Normal
    • Complexity:
      Normal
    • Discovered By:
      Unit Test
    • Platform:
      All
    • Impacts:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: