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

BatchlogManagerTest unit test failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.9, 2.1 rc2, 2.2.0 beta 1
    • Legacy/Testing
    • cassci: Debian Wheezy amd64 / Oracle JDK 1.7_60 / 8G SSD
      my machine: Debian Jessie amd64 / Oracle JDK 1.7_60 / 16G SSD

    • 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. 7397.patch
          2 kB
          Carl Yeksigian
        2. system.log.txt
          922 kB
          Michael Shuler

        Activity

          People

            carlyeks Carl Yeksigian
            mshuler Michael Shuler
            Carl Yeksigian
            Michael Shuler
            Michael Shuler Michael Shuler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: