Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10473

TestCallQueueManager is still flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.1
    • test
    • None
    • Reviewed

    Description

      testSwapUnderContention counts the calls and then interrupts as shown below. There could be call after counting the call but before interrupt.

          for (Taker t : consumers) {
            totalCallsConsumed += t.callsTaken;
            threads.get(t).interrupt();
          }
      

      Attachments

        1. c10473_20140408b.patch
          2 kB
          Tsz-wo Sze
        2. c10473_20140408.patch
          1 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: