cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Knighton (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-13764) SelectTest.testMixedTTLOnColumnsWide is flaky
Date Tue, 29 Aug 2017 21:48:01 GMT


Joel Knighton commented on CASSANDRA-13764:

The idea looks sound to me - I think you need to remove the TTL column from the select [here|],
as you did in {{testMixedTTLOnColumnsWide}}. If you agree, I'm comfortable with you doing
that on commit and don't need to rereview if CI looks good.

> SelectTest.testMixedTTLOnColumnsWide is flaky
> ---------------------------------------------
>                 Key: CASSANDRA-13764
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Joel Knighton
>            Assignee: Jeff Jirsa
>            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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message