You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jay Zhuang (JIRA)" <ji...@apache.org> on 2018/06/08 23:31:00 UTC

[jira] [Resolved] (CASSANDRA-14237) Unittest failed: org.apache.cassandra.utils.BitSetTest.compareBitSets

     [ https://issues.apache.org/jira/browse/CASSANDRA-14237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Zhuang resolved CASSANDRA-14237.
------------------------------------
    Resolution: Won't Fix

Makes sense to me. Closing as "won't fix"

> Unittest failed: org.apache.cassandra.utils.BitSetTest.compareBitSets
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-14237
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14237
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Jay Zhuang
>            Priority: Minor
>              Labels: testing
>
> {noformat}
>     [junit] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.822 sec
>     [junit]
>     [junit] Testcase: compareBitSets(org.apache.cassandra.utils.BitSetTest):    Caused an ERROR
>     [junit] java.io.FileNotFoundException: /usr/share/dict/words (No such file or directory)
>     [junit] java.lang.RuntimeException: java.io.FileNotFoundException: /usr/share/dict/words (No such file or directory)
>     [junit]     at org.apache.cassandra.utils.KeyGenerator$WordGenerator.reset(KeyGenerator.java:137)
>     [junit]     at org.apache.cassandra.utils.KeyGenerator$WordGenerator.<init>(KeyGenerator.java:126)
>     [junit]     at org.apache.cassandra.utils.BitSetTest.compareBitSets(BitSetTest.java:50)
>     [junit] Caused by: java.io.FileNotFoundException: /usr/share/dict/words (No such file or directory)
>     [junit]     at java.io.FileInputStream.open0(Native Method)
>     [junit]     at java.io.FileInputStream.open(FileInputStream.java:195)
>     [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:138)
>     [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:93)
>     [junit]     at org.apache.cassandra.utils.KeyGenerator$WordGenerator.reset(KeyGenerator.java:135)
>     [junit]
>     [junit]
>     [junit] Test org.apache.cassandra.utils.BitSetTest FAILED
> {noformat}
> Works fine on my mac but failed on some linux hosts which do not have {{/usr/share/dict/words}}. It's the same issue as CASSANDRA-7389, should we backport that?



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