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

BatchlogManagerTest unit test failing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.9, 2.1 rc2, 2.2.0 beta 1
    • Component/s: Legacy/Testing
    • Labels:
    • Environment:

      cassci: Debian Wheezy amd64 / Oracle JDK 1.7_60 / 8G SSD
      my machine: Debian Jessie amd64 / Oracle JDK 1.7_60 / 16G SSD

    • Severity:
      Normal

      Description

      This test is passing on cassci, but has failed on other dev machines. This is from my machine on trunk (I'm checking other versions).

          [junit] Testsuite: org.apache.cassandra.db.BatchlogManagerTest
          [junit] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 83.015 sec
          [junit] 
          [junit] ------------- Standard Output ---------------
          [junit] WARN  19:48:53 Changing /127.0.0.1's host ID from 7d5feaa0-f26a-11e3-9d93-ed61e821317c to 952657a0-f26a-11e3-9d93-ed61e821317c
          [junit] WARN  19:48:53 Changing /127.0.0.1's host ID from 7d5feaa0-f26a-11e3-9d93-ed61e821317c to 952657a0-f26a-11e3-9d93-ed61e821317c
          [junit] ------------- ---------------- ---------------
          [junit] Testcase: testReplay(org.apache.cassandra.db.BatchlogManagerTest):  FAILED
          [junit] expected:<500> but was:<0>
          [junit] junit.framework.AssertionFailedError: expected:<500> but was:<0>
          [junit]     at org.apache.cassandra.db.BatchlogManagerTest.testReplay(BatchlogManagerTest.java:91)
          [junit] 
          [junit] 
          [junit] Test org.apache.cassandra.db.BatchlogManagerTest FAILED
      

      DEBUG test log attached

        Attachments

        1. system.log.txt
          922 kB
          Michael Shuler
        2. 7397.patch
          2 kB
          Carl Yeksigian

          Activity

            People

            • Assignee:
              carlyeks Carl Yeksigian
              Reporter:
              mshuler Michael Shuler
              Authors:
              Carl Yeksigian
              Reviewers:
              Michael Shuler
              Tester:
              Michael Shuler
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: