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

WaitQueueTest is flakey

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1.9, 2.2.1, 3.0 beta 1
    • None
    • None
    • Low

    Description

      While the test is a little noddy, and superfluous, it shouldn't fail even vanishingly infrequently. aweisberg 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

            benedict Benedict Elliott Smith
            benedict Benedict Elliott Smith
            Benedict Elliott Smith
            Ariel Weisberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: