-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Stabilize CancellableTasksIT#testRemoveBanParentsOnDisconnect #131858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stabilize CancellableTasksIT#testRemoveBanParentsOnDisconnect #131858
Conversation
|
Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination) |
daf8ebc to
784014f
Compare
Ensure that the cluster has a stably elected master node when the test completes so that the post-test tear-down check for cluster state consistency can succeed. Closes elastic#131562
784014f to
d6e1883
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
| allowEntireRequest(rootRequest); | ||
| cancelFuture.actionGet(); | ||
| ensureBansAndCancellationsConsistency(); | ||
| // This method will call the cluster health API with wait_for_tasks set to Priority#LANGUID. This will ensure that all tasks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you run this test X times to verify this indeed fixes any race conditions? (Only that since we've unmuted the test, it would be silly if it failed again in two days)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for checking. I realize that the context isn't all there in the git issue: some of the discussion occurred in slack.
I just went ahead and ran it successfully locally on my machine a dozen or so times. It's hard to confirm, since failures usually occur under stressed concurrency conditions.
…cking * upstream/main: (24 commits) Revert "[Fleet] add privileges to `kibana_system` to read integrations data (elastic#132400)" (elastic#132499) ESQL: Rename evaluators for FIRST and LAST (elastic#132466) Add inference fields to semantic text docs (elastic#132471) ESQL: Allow FIRST and LAST as method name (elastic#132469) ESQL: Add javadoc for PushDownAndCombineFilters (elastic#132484) Misc cleanups in Coordinator (elastic#132452) [DiskBBQ] Write the maximum posting list size to avoid resizing the docId array (elastic#132447) Improve exception handling for JsonXContentParser (elastic#123439) Clarify quantization on semantic_text BBQ dense vector default (elastic#132470) Fix test infra NPE in doEnsureClusterStateConsistency (elastic#131859) Stabilize CancellableTasksIT#testRemoveBanParentsOnDisconnect (elastic#131858) Move ClusterApplierService assertion after logging exception (elastic#132446) ESQL: Support for multi-argument aggs (elastic#132424) Update wolfi (versioned) (elastic#132457) ESQL: Fix Function javadoc (elastic#132399) [ML] Inference API disable partial search results (elastic#132362) Unmute testTermsQuery tests (elastic#132409) Fix index lookup when field-caps returns empty mapping (elastic#132138) CompressorFactory.compressor (elastic#132448) ESQL add formatting to plans in javadoc (elastic#132421) ...
Ensure that the cluster has a stably elected master node
when the test completes so that the post-test tear-down
check for cluster state consistency across nodes can
succeed.
Closes #131562