cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Jordan (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-7661) org.apache.cassandra.utils.BitSetTest fails if you don't have /usr/share/dict/words
Date Thu, 31 Jul 2014 17:55:38 GMT
Jeremiah Jordan created CASSANDRA-7661:

             Summary: org.apache.cassandra.utils.BitSetTest fails if you don't have /usr/share/dict/words
                 Key: CASSANDRA-7661
             Project: Cassandra
          Issue Type: Bug
          Components: Tests
            Reporter: Jeremiah Jordan
            Priority: Trivial

org.apache.cassandra.utils.WordGenerator used by BitSetTests just assumes you have the file
/usr/share/dict/words on your system.  If you don't it fails.  We probably shouldn't have
unit tests depending on arbitrary external files.

    [junit] Testsuite: org.apache.cassandra.utils.BitSetTest
    [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 2.044 sec
    [junit] Testcase: compareBitSets(org.apache.cassandra.utils.BitSetTest):	Caused an ERROR
    [junit] /usr/share/dict/words (No such file or directory)
    [junit] java.lang.RuntimeException: /usr/share/dict/words
(No such file or directory)
    [junit] 	at org.apache.cassandra.utils.KeyGenerator$WordGenerator.reset(
    [junit] 	at org.apache.cassandra.utils.KeyGenerator$WordGenerator.<init>(
    [junit] 	at org.apache.cassandra.utils.BitSetTest.compareBitSets(
    [junit] Caused by: /usr/share/dict/words (No such file
or directory)
    [junit] 	at Method)
    [junit] 	at<init>(
    [junit] 	at<init>(
    [junit] 	at org.apache.cassandra.utils.KeyGenerator$WordGenerator.reset(
    [junit] Test org.apache.cassandra.utils.BitSetTest FAILED

This message was sent by Atlassian JIRA

View raw message