Skip to content

[9.2] Fix flaky ThreadPoolMergeSchedulerStressTestIT (#139819)#140344

Merged
elasticsearchmachine merged 2 commits intoelastic:9.2from
burqen:backport/9.2/pr-139819
Jan 9, 2026
Merged

[9.2] Fix flaky ThreadPoolMergeSchedulerStressTestIT (#139819)#140344
elasticsearchmachine merged 2 commits intoelastic:9.2from
burqen:backport/9.2/pr-139819

Conversation

@burqen
Copy link
Contributor

@burqen burqen commented Jan 8, 2026

Backports the following commits to 9.2:

* Increase wait time for flaky test

Increasing maxWaitTime for merges to start and complete to 10 minutes.
The previous time out of 1 minute leave room for scheduling variability
to tip the test over the wait threshold and fail the test. If test
stills fails on 10 minute timeout we can be quite sure that it hangs.

* Bind node processors setting in test

Some CI environments only have 4 cores and will fail this test if rnd
gods are grumpy and generate a 5 or higher. NODE_PROCESSORS_SETTING is
limited to the number of available processors.
@burqen burqen added :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. >test Issues or PRs that are addressing/adding tests auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Distributed Indexing (obsolete) Meta label for Distributed Indexing team. Obsolete. Please do not use. labels Jan 8, 2026
@burqen burqen added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) and removed auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Jan 8, 2026
@elasticsearchmachine elasticsearchmachine merged commit 372b8d0 into elastic:9.2 Jan 9, 2026
35 checks passed
@burqen burqen deleted the backport/9.2/pr-139819 branch January 9, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. Team:Distributed Indexing (obsolete) Meta label for Distributed Indexing team. Obsolete. Please do not use. >test Issues or PRs that are addressing/adding tests v9.2.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments