You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (JIRA)" <ji...@apache.org> on 2015/08/05 15:23:04 UTC

[jira] [Updated] (CASSANDRA-9891) AggregationTest.testAggregateWithWithWriteTimeOrTTL is fragile

     [ https://issues.apache.org/jira/browse/CASSANDRA-9891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Lerer updated CASSANDRA-9891:
--------------------------------------
    Attachment: 9891.txt

The patch extends the time allowed for the test to execute to 10 minutes.

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