Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2170

Thread starvation problems in some tests

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • None
    • None
    • New, Patch Available

    Description

      In some of the tests, a time limit is set and the tests have a "while (inTime)" loop. If creation of thread under heavy load is too slow, the tasks are not done. Most tests are only useful, if the task is at least done once (most would even fail).

      This thread changes the loops to be do...while, so the task is run at least one time.

      Attachments

        1. LUCENE-2170.patch
          9 kB
          Uwe Schindler
        2. LUCENE-2170-tag.patch
          8 kB
          Uwe Schindler
        3. LUCENE-2170.patch
          9 kB
          Uwe Schindler
        4. LUCENE-2170-tag.patch
          8 kB
          Uwe Schindler

        Activity

          People

            uschindler Uwe Schindler
            uschindler Uwe Schindler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: