[ https://issues.apache.org/jira/browse/CASSANDRA-14387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Jirsa updated CASSANDRA-14387: ----------------------------------- Resolution: Fixed Fix Version/s: 4.0 Status: Resolved (was: Ready to Commit) Committed to trunk as 8a5e1cbe293ee7c83efba0d0101ada0a80cfaf00 > SSTableReaderTest#testOpeningSSTable fails on macOS > --------------------------------------------------- > > Key: CASSANDRA-14387 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14387 > Project: Cassandra > Issue Type: Bug > Reporter: Dinesh Joshi > Assignee: Dinesh Joshi > Priority: Minor > Fix For: 4.0 > > > 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. > {noformat} > [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 > {noformat} > Related issue: CASSANDRA-11163 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org