You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "maxwellguo (JIRA)" <ji...@apache.org> on 2019/05/16 06:15:00 UTC

[jira] [Created] (CASSANDRA-15129) Cassandra unit test with compression occurs BUILD FAILED

maxwellguo created CASSANDRA-15129:
--------------------------------------

             Summary: Cassandra unit test with compression occurs BUILD FAILED 
                 Key: CASSANDRA-15129
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15129
             Project: Cassandra
          Issue Type: Bug
          Components: Test/unit
            Reporter: maxwellguo


under cassandra source code dir ,when I run the command : ant test-compression will occurs npe exception . 

{panel:title=My title}
[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
{panel}

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 . 








--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org