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

WaitQueueTest is flakey

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.1.9, 2.2.1, 3.0 beta 1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      While the test is a little noddy, and superfluous, it shouldn't fail even vanishingly infrequently. Ariel Weisberg has spotted it doing so, and I have also encountered it once, so I suspect that a change in hardware/OS may have made vanishingly unlikely just pretty unlikely, which is even less good.

      Right now it depends on Thread.start() completing before the new thread starts; this isn't guaranteed. This patch fixes that.

        Attachments

          Activity

            People

            • Assignee:
              benedict Benedict Elliott Smith
              Reporter:
              benedict Benedict Elliott Smith
              Authors:
              Benedict Elliott Smith
              Reviewers:
              Ariel Weisberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: