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

Cassandra unit test with compression occurs BUILD FAILED

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Cannot Reproduce
    • None
    • Test/unit
    • None
    • Correctness - Test Failure
    • All
    • None

    Description

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

      log

      [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 .

      Attachments

        1. CASSANDRA-15129.txt
          0.5 kB
          Maxwell Guo

        Activity

          People

            Unassigned Unassigned
            maxwellguo Maxwell Guo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: