Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-9891

AggregationTest.testAggregateWithWithWriteTimeOrTTL is fragile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.2.1
    • Legacy/CQL
    • None
    • Low

    Description

      I've seen AggregationTest.testAggregateWithWithWriteTimeOrTTL fail on cassci on the line

      assertTrue(row.getInt("ttl(b)") > 4
      

      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.

      Attachments

        1. 9891.txt
          2 kB
          Benjamin Lerer

        Activity

          People

            blerer Benjamin Lerer
            slebresne Sylvain Lebresne
            Benjamin Lerer
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: