[ https://issues.apache.org/jira/browse/CASSANDRA-7295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Shuler resolved CASSANDRA-7295. --------------------------------------- Resolution: Duplicate > BatchlogManagerTest unit test failing in 2.1 & trunk > ---------------------------------------------------- > > Key: CASSANDRA-7295 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7295 > Project: Cassandra > Issue Type: Bug > Components: Tests > Reporter: Michael Shuler > Assignee: Sylvain Lebresne > Priority: Minor > Fix For: 2.1 rc1 > > > Commit 1147ee3 for CASSANDRA-6975 introduced a regression for > BatchlogManagerTest in 2.1 and trunk: > {noformat} > [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 > {noformat} > 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/ -- This message was sent by Atlassian JIRA (v6.2#6252)