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

utest failed: DistributionSequenceTest.setSeed() and simpleSequence()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-alpha1
    • Component/s: Legacy/Testing
    • Labels:
      None
    • Severity:
      Normal

      Description

      To reproduce:

      $ ant stress-test -Dtest.name=DistributionSequenceTest
      
      stress-test:
          [junit] Testsuite: org.apache.cassandra.stress.generate.DistributionSequenceTest
          [junit] Testsuite: org.apache.cassandra.stress.generate.DistributionSequenceTest Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
          [junit]
          [junit] Testcase: simpleSequence(org.apache.cassandra.stress.generate.DistributionSequenceTest):    FAILED
          [junit] expected:<5> but was:<4>
          [junit] junit.framework.AssertionFailedError: expected:<5> but was:<4>
          [junit]     at org.apache.cassandra.stress.generate.DistributionSequenceTest.simpleSequence(DistributionSequenceTest.java:37)
          [junit]
          [junit]
          [junit] Testcase: setSeed(org.apache.cassandra.stress.generate.DistributionSequenceTest):   FAILED
          [junit] expected:<5> but was:<4>
          [junit] junit.framework.AssertionFailedError: expected:<5> but was:<4>
          [junit]     at org.apache.cassandra.stress.generate.DistributionSequenceTest.setSeed(DistributionSequenceTest.java:111)
          [junit]
          [junit]
          [junit] Test org.apache.cassandra.stress.generate.DistributionSequenceTest FAILED
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jay.zhuang Jay Zhuang
                Reporter:
                jay.zhuang Jay Zhuang
                Authors:
                Jay Zhuang
                Reviewers:
                Blake Eggleston
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: