mikemccand commented on issue #14864:
URL: https://github.com/apache/lucene/issues/14864#issuecomment-3019391074

   > i think when we re-run with the same seed, we should get repeatable 
results from `random()` but I'm seeing different ones
   
   This is a separate bug, a test bug, from the actual core bug test is trying 
to catch.  Indeed with the same seed the sequence of random choices is supposed 
to be the same and the bug should reproduce.  But the JDK does not give us 
"deterministic random" thread scheduling, so if there's something about the 
core bug that's only tickled when threads are scheduled just so, that could 
cause non-reproducibility.  Even then, each thread has its own thread-private 
deterministic random, so the random choices that thread makes should also be 
the same with the same starting seed.
   
   If on the main thread you see the `random()` instance not giving the same 
random int from run to run with a fixed seed, that should be easier to find -- 
that's a straight up test randomness bug?
   
   > which is the test seed I supplied on the command line
   
   Hmm is it possible with the recent build (gradle) refactorings somehow broke 
forwarding the seed to all spawned tests?


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to