cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9891) AggregationTest.testAggregateWithWithWriteTimeOrTTL is fragile
Date Thu, 06 Aug 2015 17:40:05 GMT

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

Aleksey Yeschenko commented on CASSANDRA-9891:
----------------------------------------------

+1

> AggregationTest.testAggregateWithWithWriteTimeOrTTL is fragile
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-9891
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9891
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sylvain Lebresne
>            Assignee: Benjamin Lerer
>            Priority: Minor
>             Fix For: 2.2.1
>
>         Attachments: 9891.txt
>
>
> I've seen {{AggregationTest.testAggregateWithWithWriteTimeOrTTL}} fail on cassci on the
line
> {noformat}
> assertTrue(row.getInt("ttl(b)") > 4
> {noformat}
> Given that the ttl is set to 5 a few lines above and the CQL {{ttl()}} method returns
the actual time-to-live (that is, it decrease with time), it feels safe to assume this test
is overly fragile.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message