[jira] [Commented] (CASSANDRA-14387) SSTableReaderTest#testOpeningSSTable fails on macOS

2018-04-30 Thread Dinesh Joshi (JIRA)

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

Dinesh Joshi commented on CASSANDRA-14387:
--

Thank you for taking care of this [~iamaleksey]

> 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, 3.0.17, 3.11.3
>
>
> 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



[jira] [Commented] (CASSANDRA-14387) SSTableReaderTest#testOpeningSSTable fails on macOS

2018-04-30 Thread Aleksey Yeschenko (JIRA)

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

Aleksey Yeschenko commented on CASSANDRA-14387:
---

Cherry-plicked into 3.0 as 
[e16f0ed0698c5cb47ab2bb0a0b04966d5bdbcde0|https://github.com/apache/cassandra/commit/e16f0ed0698c5cb47ab2bb0a0b04966d5bdbcde0]
 and merged upwards, replacing the somewhat silly millis to millis conversion 
with {{TimeUnit.sleep()}} in the process.

> 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, 3.0.17, 3.11.3
>
>
> 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



[jira] [Commented] (CASSANDRA-14387) SSTableReaderTest#testOpeningSSTable fails on macOS

2018-04-30 Thread Aleksey Yeschenko (JIRA)

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

Aleksey Yeschenko commented on CASSANDRA-14387:
---

Can you please commit to 3.0 and 3.11 too? Because tests are failing on Jenkins 
:\ Cheers.

> 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



[jira] [Commented] (CASSANDRA-14387) SSTableReaderTest#testOpeningSSTable fails on macOS

2018-04-16 Thread Chris Lohfink (JIRA)

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

Chris Lohfink commented on CASSANDRA-14387:
---

+1

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



[jira] [Commented] (CASSANDRA-14387) SSTableReaderTest#testOpeningSSTable fails on macOS

2018-04-16 Thread Dinesh Joshi (JIRA)

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

Dinesh Joshi commented on CASSANDRA-14387:
--

||trunk||
|[branch|https://github.com/dineshjoshi/cassandra/tree/sstable-junit-failure]|
|[utests  
dtests|https://circleci.com/gh/dineshjoshi/workflows/cassandra/tree/sstable-junit-failure]|
||

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



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