You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joel Knighton (JIRA)" <ji...@apache.org> on 2017/08/15 02:22:00 UTC

[jira] [Created] (CASSANDRA-13764) SelectTest.testMixedTTLOnColumnsWide is flaky

Joel Knighton created CASSANDRA-13764:
-----------------------------------------

             Summary: SelectTest.testMixedTTLOnColumnsWide is flaky
                 Key: CASSANDRA-13764
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13764
             Project: Cassandra
          Issue Type: Bug
          Components: Testing
            Reporter: Joel Knighton
            Priority: Trivial


{{org.apache.cassandra.cql3.validation.operations.SelectTest.testMixedTTLOnColumnsWide}} is flaky. This is because it inserts rows and then asserts their contents using {{ttl()}} in the select, but if the test is sufficiently slow, the remaining ttl may change by the time the select is run. Anecdotally, {{testSelectWithAlias}} in the same class uses a fudge factor of 1 second that would fix all the failures I've seen, but it might make more sense to measure the elapsed time in the test and calculate the acceptable variation from that time.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org