Re: Inconsistent randomisation behaviour

2025-09-26 Thread Dawid Weiss
In general, you should try to pass all the parameters that the repro line mentions as these may affect the result. I understand this is problematic if you want to re-launch from intellij, in which case I'd suggest two options - 1) run the test in intellij via gradle, setting all the options that t

Re: Inconsistent randomisation behaviour

2025-09-25 Thread Alan Woodward
Aha, yes, I need to set -Ptests.nightly=true as it changes the behaviour of `rarely()`. Thanks, this drove me absolutely nuts for about three hours yesterday. > On 24 Sep 2025, at 16:23, Michael Sokolov wrote: > > did you also set the other test parameters like -Ptests.nightly=true ? > > On

Re: Inconsistent randomisation behaviour

2025-09-24 Thread Michael Sokolov
did you also set the other test parameters like -Ptests.nightly=true ? On Wed, Sep 24, 2025 at 7:01 AM Alan Woodward wrote: > > Hi all, > > I’m seeing some strange behaviour trying to reproduce a test failure in > IntelliJ, compared to what happens when I run the test on the command line > via

Inconsistent randomisation behaviour

2025-09-24 Thread Alan Woodward
Hi all, I’m seeing some strange behaviour trying to reproduce a test failure in IntelliJ, compared to what happens when I run the test on the command line via gradle. The following failed in the elasticsearch CI this morning, and reproduces when I run it on my laptop: ./gradlew :lucene:test-f