Closed cbuescher closed 4 days ago
Pinging @elastic/es-search-relevance (Team:Search Relevance)
@afoucret this is coming from a test you added this morning, in case you already see whats up with this.
This is a test issue. Removing needs:risk
and adding low-risk
.
There is no guarantee that the doubles added to stats1 and stats2 will be different.
// Accumulators with different values are not equals
randomDoubles(randomIntBetween(0, 20)).forEach(stats1);
randomDoubles(randomIntBetween(0, 20)).forEach(stats2);
assertThat(stats1, not(equalTo(stats2)));
CI Link
https://gradle-enterprise.elastic.co/s/izwjgujxyo3gk
Repro line
./gradlew ":server:test" --tests "org.elasticsearch.script.StatsSummaryTests.testEqualsAndHashCode" -Dtests.seed=47AD09731F61F063
Does it reproduce?
Yes
Applicable branches
main
Failure history
No response
Failure excerpt
This happened during local testing but I can reproduce on main:
./gradlew ":server:test" --tests "org.elasticsearch.script.StatsSummaryTests.testEqualsAndHashCode" -Dtests.seed=47AD09731F61F063