lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucenenet] NightOwl888 opened a new issue #308: Investigate slow test: Lucene.Net.Tests.Index.TestAddIndexes::TestAddIndexesWithCloseNoWait()
Date Wed, 08 Jul 2020 16:58:47 GMT

NightOwl888 opened a new issue #308:
URL: https://github.com/apache/lucenenet/issues/308


   The test `Lucene.Net.Tests.Index.TestAddIndexes::TestAddIndexesWithCloseNoWait()` (in Lucene.Net.Tests._E-I)
is usually (around 90% of the time) correctly completing in about 2 seconds. However, occasionally
it can take much longer. The test only checks for an invalid condition (adding index to a
disposed `IndexWriter`) and is supposed to exit early because of the exception. However, there
seems to be contention between the threads that makes it extremely slow to exit on some runs
(sometimes up to 5 minutes or more).
   
   No doubt, this is one of the primary contributors to the tests in the CI environment taking
excessive time to complete.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message