[
https://issues.apache.org/jira/browse/CASSANDRA-12875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15651130#comment-15651130
]
Chris Lohfink commented on CASSANDRA-12875:
-------------------------------------------
was using system.currentmillis and the method compared that to the
approx.currentmillis which had some windows where it would lead to issues. Just
made the method take "now" as a arg so we can test it without the error window.
https://github.com/clohfink/cassandra/pull/5/files
> testall failure in
> org.apache.cassandra.net.MessagingServiceTest.testDCLatency-compression
> ------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-12875
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12875
> Project: Cassandra
> Issue Type: Bug
> Reporter: Sean McCarthy
> Assignee: Chris Lohfink
> Labels: test-failure, testall
> Attachments: 12875.patch
>
>
> example failure:
> http://cassci.datastax.com/job/cassandra-3.X_testall/54/testReport/org.apache.cassandra.net/MessagingServiceTest/testDCLatency_compression/
> {code}
> Error Message
> expected:<107964792> but was:<129557750>
> {code}{code}
> Stacktrace
> junit.framework.AssertionFailedError: expected:<107964792> but was:<129557750>
> at
> org.apache.cassandra.net.MessagingServiceTest.testDCLatency(MessagingServiceTest.java:115)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)