Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4382

better multi-thread testing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0SDK
    • Core Java Framework
    • None

    Description

      Several tests exercise multi-threads by looping and creating threads and starting them. The problem with this is that creating and starting a thread takes more time than running whatever is being tested, so everything completes, but there's no real contention (because the 1st thread finishes before the 2nd starts, etc.). Fix by using same technique as used in MultiThreadUtils

      Attachments

        Issue Links

          Activity

            People

              schor Marshall Schor
              schor Marshall Schor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: