Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Cannot Reproduce
-
None
-
None
-
Correctness - Test Failure
-
All
-
None
Description
under cassandra source code dir ,when I run the command : ant test-compression will occurs npe exception .
[junit-timeout] Testsuite: .Users.maxwell.Documents.software.cassandra_project.cassandra.test.distributed.org.apache.cassandra.distributed.DistributedReadWritePathTest-compression
[junit-timeout] Testsuite: .Users.maxwell.Documents.software.cassandra_project.cassandra.test.distributed.org.apache.cassandra.distributed.DistributedReadWritePathTest-compression Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
[junit-timeout]
[junit-timeout] Null Test: Caused an ERROR
[junit-timeout] /Users/maxwell/Documents/software/cassandra_project/cassandra/test/distributed/org/apache/cassandra/distributed/DistributedReadWritePathTest
[junit-timeout] java.lang.ClassNotFoundException: /Users/maxwell/Documents/software/cassandra_project/cassandra/test/distributed/org/apache/cassandra/distributed/DistributedReadWritePathTest
[junit-timeout] at java.lang.Class.forName0(Native Method)
[junit-timeout] at java.lang.Class.forName(Class.java:264)
[junit-timeout]
[junit-timeout]
[junit-timeout] Test .Users.maxwell.Documents.software.cassandra_project.cassandra.test.distributed.org.apache.cassandra.distributed.DistributedReadWritePathTest FAILED
for we use ant test-compression ,then the unit dir's test and the dristributed dir test will be run with compression configure. but in the build.xml configure for testlist-compression macrodef, only unit test dir was as the input .and the target test-compression use two fileset dir "test.unit.src" and "test.distributed.src" , so when comes to distributed dir's test with compression ,there occurs an CLASSANOT FOUND exception .