Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
New
Description
Followup to LUCENE-10421
Code in the library shouldn't rely on wall-clock time. If you look at all the places doing this, they are basically all bad news.
Most tests doing this are "iterating for some amount of wall-clock time" which causes them to instead just be non-reproducible. These should be changed to use a fixed number of loop iterations instead.
It would really be great to ban this stuff in forbidden apis. It is even in the configuration file, just currently commented out.
Attachments
Issue Links
- relates to
-
LUCENE-10421 Non-deterministic results from KnnVectorQuery?
- Resolved