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

BatchlogManagerTest unit test failing in 2.1 & trunk

    XMLWordPrintableJSON

Details

    • Low

    Description

      Commit 1147ee3 for CASSANDRA-6975 introduced a regression for BatchlogManagerTest in 2.1 and trunk:

          [junit] Testsuite: org.apache.cassandra.db.BatchlogManagerTest
          [junit] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 45.795 sec
          [junit] 
          [junit] ------------- Standard Output ---------------
          [junit] WARN  18:43:57 Changing /127.0.0.1's host ID from 1c3d6470-e2aa-11e3-beb0-9b2001e5c823 to 32f21350-e2aa-11e3-beb0-9b2001e5c823
          [junit] WARN  18:43:57 Changing /127.0.0.1's host ID from 1c3d6470-e2aa-11e3-beb0-9b2001e5c823 to 32f21350-e2aa-11e3-beb0-9b2001e5c823
          [junit] ------------- ---------------- ---------------
          [junit] Testcase: testReplay(org.apache.cassandra.db.BatchlogManagerTest):  Caused an ERROR
          [junit] Error validating SELECT count(*) FROM %s.%s
          [junit] java.lang.RuntimeException: Error validating SELECT count(*) FROM %s.%s
          [junit]     at org.apache.cassandra.cql3.QueryProcessor.executeInternal(QueryProcessor.java:275)
          [junit]     at org.apache.cassandra.db.BatchlogManager.countAllBatches(BatchlogManager.java:102)
          [junit]     at org.apache.cassandra.db.BatchlogManagerTest.testReplay(BatchlogManagerTest.java:60)
          [junit] Caused by: org.apache.cassandra.exceptions.SyntaxException: line 1:24 no viable alternative at character '%'
          [junit]     at org.apache.cassandra.cql3.CqlLexer.throwLastRecognitionError(CqlLexer.java:201)
          [junit]     at org.apache.cassandra.cql3.QueryProcessor.parseStatement(QueryProcessor.java:455)
          [junit]     at org.apache.cassandra.cql3.QueryProcessor.getStatement(QueryProcessor.java:430)
          [junit]     at org.apache.cassandra.cql3.QueryProcessor.parseStatement(QueryProcessor.java:211)
          [junit]     at org.apache.cassandra.cql3.QueryProcessor.prepareInternal(QueryProcessor.java:252)
          [junit]     at org.apache.cassandra.cql3.QueryProcessor.executeInternal(QueryProcessor.java:262)
          [junit] 
          [junit] 
          [junit] Test org.apache.cassandra.db.BatchlogManagerTest FAILED
      

      http://cassci.datastax.com/job/cassandra-2.1_utest/291/testReport/org.apache.cassandra.db/BatchlogManagerTest/testReplay/
      http://cassci.datastax.com/job/trunk_utest/627/testReport/junit/org.apache.cassandra.db/BatchlogManagerTest/testReplay/

      Attachments

        Issue Links

          Activity

            People

              slebresne Sylvain Lebresne
              mshuler Michael Shuler
              Sylvain Lebresne
              Michael Shuler Michael Shuler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: