Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TEST BUG: MergeSchedulerSettingsTests fails always on small machines (o…
…pensearch-project#559) MergeSchedulerSettingsTests tweaks the `node.processors` setting: sets it explicitly to values of `2` and `8`. On a machine with only `4` threads (e.g. my 2-core thinkpad), the test fails, because it creates unexpected warnings about `node.processors` being set higher than the number of cpus. The problem can be reproduced always, by pretending to be single core: ``` ./gradlew ':server:test' --tests "org.opensearch.index.MergeSchedulerSettingsTests.testMaxThreadAndMergeCount" -Dtests.jvm.argline="-XX:ActiveProcessorCount=1" ``` Instead, allow the test to provoke these specific warnings. Signed-off-by: Robert Muir <rmuir@apache.org>
- Loading branch information