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

CustomNowInSecondsTest.testSelectQuery() is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-beta1, 4.0
    • Test/unit
    • None

    Description

      The test CustomNowInSecondsTest.testSelectQuery() is flaky, because the now calculated here but used here can be wrong, if the thread running the test method gets stalled.
      The flakiness can be simulated by adding a Thread.sleep(1000) before the executeModify().

      Attachments

        Activity

          People

            snazy Robert Stupp
            snazy Robert Stupp
            Robert Stupp
            Andres de la Peña
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: