fangfangli / cleartk

Automatically exported from code.google.com/p/cleartk
0 stars 0 forks source link

org.cleartk.eval.provider.FilesCollectionReaderProviderTest failing on verbs server #269

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If I run mvn test on cleartk-eval on the verbs server I get the following 
failure:

Failed tests:   
test(org.cleartk.eval.provider.FilesCollectionReaderProviderTest): 
expected:<file:/tmp/junit1954643584892356221/output/1> but 
was:<file:/tmp/junit1954643584892356221/output/8>

This same test on my own machine with the same version of cleartk-eval passes.

Original issue reported on code.google.com by lee.becker on 24 Jan 2012 at 7:35

GoogleCodeExporter commented 9 years ago
I think we've run into this issue before - files in a directory are not listed 
in insertion order on Linux. The test should be updated to compare Sets of 
files instead of Lists of files.

Original comment by steven.b...@gmail.com on 24 Jan 2012 at 3:43

GoogleCodeExporter commented 9 years ago
Can you try the attached patch and see if that fixes things for you on verbs?

Original comment by steven.b...@gmail.com on 24 Jan 2012 at 5:06

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by lee.becker on 24 Jan 2012 at 7:04