mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Tests: Fix Typo Causing Flaky Settings Test (#32665)
* We were comparing the wrong timeout value in the `randomValueOtherThan` call here, leading to no mutation happening for a certain seed * closes #32639
This commit is contained in:
parent
1122314b3b
commit
f57cb10d2c
@ -41,7 +41,7 @@ public class UpdateSettingsRequestStreamableTests extends AbstractStreamableTest
|
||||
List<Runnable> mutators = new ArrayList<>();
|
||||
mutators.add(() -> mutation
|
||||
.masterNodeTimeout(randomValueOtherThan(request.masterNodeTimeout().getStringRep(), ESTestCase::randomTimeValue)));
|
||||
mutators.add(() -> mutation.timeout(randomValueOtherThan(request.masterNodeTimeout().getStringRep(), ESTestCase::randomTimeValue)));
|
||||
mutators.add(() -> mutation.timeout(randomValueOtherThan(request.timeout().getStringRep(), ESTestCase::randomTimeValue)));
|
||||
mutators.add(() -> mutation.settings(mutateSettings(request.settings())));
|
||||
mutators.add(() -> mutation.indices(mutateIndices(request.indices())));
|
||||
mutators.add(() -> mutation.indicesOptions(randomValueOtherThan(request.indicesOptions(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user