ant - compiling cassandra test cases failing -
i trying build cassandra binaries source , when try compile unit test cases, 1 of them fails. build cassandra-2.1.4 java 8. these commands run:
ant -dfile.encoding="utf-8" ant test ant artifacts
failure details:
[junit] testsuite: org.apache.cassandra.tools.sstableexporttest [junit] tests run: 8, failures: 1, errors: 0, skipped: 0, time elapsed: 5.903 sec [junit] [junit] ------------- standard output --------------- [junit] warn 17:48:26 no host id found, created eeaaa375-22f0-4a4c-845a-31decd240218 (note: should happen once per node). [junit] warn 17:48:26 no host id found, created eeaaa375-22f0-4a4c-845a-31decd240218 (note: should happen once per node). [junit] importing 1 keys... [junit] 1 keys imported successfully. [junit] ------------- ---------------- --------------- [junit] testcase: testexportcolumnswithmetadata(org.apache.cassandra.tools.sstableexporttest): failed [junit] unexpected serialization format topleveldeletion expected:<{"[markedfordeleteat":0,"localdeletiontime]":0}> was:<{"[localdeletiontime":0,"markedfordeleteat]":0}> [junit] junit.framework.assertionfailederror: unexpected serialization format topleveldeletion expected:<{"[markedfordeleteat":0,"localdeletiontime]":0}> was:<{"[localdeletiontime":0,"markedfordeleteat]":0}> [junit] @ org.apache.cassandra.tools.sstableexporttest.testexportcolumnswithmetadata(sstableexporttest.java:298) [junit] [junit] [junit] test org.apache.cassandra.tools.sstableexporttest failed [junit] testsuite: org.apache.cassandra.tools.sstableimporttest [junit] tests run: 8, failures: 0, errors: 0, skipped: 0, time elapsed: 5.759 sec
this known issue , has been fixed in apache cassandra's trunk (will become 2.2) branch. https://issues.apache.org/jira/browse/cassandra-9065
Comments
Post a Comment