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

Fix test testCompoundPartitionKey - org.apache.cassandra.cql3.ViewTest

    XMLWordPrintableJSON

    Details

    • Bug Category:
      Correctness - Test Failure
    • Severity:
      Normal
    • Complexity:
      Normal
    • Discovered By:
      Unit Test
    • Platform:
      All
    • Impacts:
      None
    • Since Version:
    • Test and Documentation Plan:
      Hide

      The PR includes a new test that consistently creates the scenario that I think is making testCompoundPartitionKey fail in rare occasions.

      Show
      The PR includes a new test that consistently creates the scenario that I think is making testCompoundPartitionKey fail in rare occasions.

      Description

      https://app.circleci.com/pipelines/github/dcapwell/cassandra/874/workflows/0b0a1e36-107a-43c7-815f-bf8e61d3028d/jobs/5227/tests

      junit.framework.AssertionFailedError: Got more rows than expected. Expected 0 but got 1.
      	at org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:1185)
      	at org.apache.cassandra.cql3.ViewTest.testCompoundPartitionKey(ViewTest.java:817)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adelapena Andres de la Peña
                Reporter:
                dcapwell David Capwell
                Authors:
                Andres de la Peña
                Reviewers:
                Ekaterina Dimitrova
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 40m
                  4h 40m