From ccc3153e5f9078892e4dc6f83c86912b03fa99e5 Mon Sep 17 00:00:00 2001 From: Yang Wang Date: Tue, 18 Nov 2025 09:43:29 +1100 Subject: [PATCH] [Test] Fix NodeShutdownIT testStalledShardMigrationProperlyDetected (#138150) Prevent creating the security index eagerly which sometimes interfere with the test. Resolves: #115697 (cherry picked from commit 5875915350b15ed43c4040a1c6f885387127830b) # Conflicts: # muted-tests.yml --- muted-tests.yml | 3 --- x-pack/plugin/shutdown/qa/multi-node/build.gradle | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index 792abb7a2ef34..f06cfc244e6c4 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -401,9 +401,6 @@ tests: - class: org.elasticsearch.xpack.inference.InferenceRestIT method: test {p0=inference/70_text_similarity_rank_retriever/Text similarity reranker with min_score zero includes all docs} issue: https://github.com/elastic/elasticsearch/issues/137732 -- class: org.elasticsearch.xpack.shutdown.NodeShutdownIT - method: testStalledShardMigrationProperlyDetected - issue: https://github.com/elastic/elasticsearch/issues/115697 # Examples: # diff --git a/x-pack/plugin/shutdown/qa/multi-node/build.gradle b/x-pack/plugin/shutdown/qa/multi-node/build.gradle index 74dbfeb5cbefd..13644921fc72e 100644 --- a/x-pack/plugin/shutdown/qa/multi-node/build.gradle +++ b/x-pack/plugin/shutdown/qa/multi-node/build.gradle @@ -11,4 +11,5 @@ testClusters.configureEach { testDistribution = 'DEFAULT' numberOfNodes = 4 readinessEnabled = true + systemProperty 'es.queryable_built_in_roles_enabled', 'false' }