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

TestIndexWriterWithThreads has wall-clock time dependency

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.4, 8.0
    • None
    • None
    • New

    Description

      final long stopTime = System.currentTimeMillis() + 200;
      

      This can cause failures on slower machines.

      Build: https://builds.apache.org/job/Lucene-Solr-Tests-master/2422/
      
      3 tests failed.
      FAILED:  org.apache.lucene.index.TestIndexWriterWithThreads.testCloseWithThreads
      
      Error Message:
      thread failed before indexing a single document
      
      Stack Trace:
      java.lang.AssertionError: thread failed before indexing a single document
      

      Attachments

        1. LUCENE-8206.patch
          8 kB
          Dawid Weiss

        Activity

          People

            dweiss Dawid Weiss
            dweiss Dawid Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: