[ 
https://issues.apache.org/jira/browse/CASSANDRA-7389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031184#comment-14031184
 ] 

Joshua McKenzie commented on CASSANDRA-7389:
--------------------------------------------

One thing worth mentioning - the count of /usr/share/dict/words / 2 is 
substantially higher than FilterTestHelper.ELEMENTS / 2 (used for BloomFilter 
numElements init), however for purposes of this test either should be 
sufficient.

> BitSetTest fails on Windows
> ---------------------------
>
>                 Key: CASSANDRA-7389
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7389
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Joshua McKenzie
>            Assignee: Ala' Alkhaldi
>            Priority: Minor
>              Labels: Windows
>             Fix For: 3.0
>
>         Attachments: 7389_v1
>
>
>     [junit] Testcase: compareBitSets(org.apache.cassandra.utils.BitSetTest):  
>   Caused an ERROR
>     [junit] java.io.FileNotFoundException: \usr\share\dict\words (The system 
> cannot find the path specified)
>     [junit] java.lang.RuntimeException: java.io.FileNotFoundException: 
> \usr\share\dict\words (The system cannot find the path specified)
>     [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 
> (The system cannot find the path specified)
>     [junit]     at java.io.FileInputStream.open(Native Method)
>     [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:146)
>     [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:101)
>     [junit]     at 
> org.apache.cassandra.utils.KeyGenerator$WordGenerator.reset(KeyGenerator.java:135)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to