Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Low
Description
I ran into an issue with SSTableReaderTest#testOpeningSSTable test failure on macOS. The reason for failure seems that on macOS, the file modification timestamps are at a second granularity (See: https://stackoverflow.com/questions/18403588/how-to-return-millisecond-information-for-file-access-on-mac-os-x-in-java and https://developer.apple.com/legacy/library/technotes/tn/tn1150.html#HFSPlusDates). The fix is simple - bumping up the sleep time to 1 second instead of 10ms.
[junit] ------------- ---------------- --------------- [junit] Testcase: testOpeningSSTable(org.apache.cassandra.io.sstable.SSTableReaderTest): FAILED [junit] Bloomfilter was not recreated [junit] junit.framework.AssertionFailedError: Bloomfilter was not recreated [junit] at org.apache.cassandra.io.sstable.SSTableReaderTest.testOpeningSSTable(SSTableReaderTest.java:421) [junit] [junit] [junit] Test org.apache.cassandra.io.sstable.SSTableReaderTest FAILED
Related issue: CASSANDRA-11163
Attachments
Issue Links
- is caused by
-
CASSANDRA-11163 Summaries are needlessly rebuilt when the BF FP ratio is changed
- Resolved