From f7ffcb3e97fd5e658130ce8cbec656ea2ce2aa4e Mon Sep 17 00:00:00 2001 From: Yang Wang Date: Thu, 30 Jun 2022 21:38:16 +1000 Subject: [PATCH] [Test] Fix user profile YAML tests in a mixed cluster User profile is behind a feature flag in 8.3. When 8.3 is still a snapshot build, the feature flag is enabled automatically. But now 8.3 is released, the feature flag is by default off. This PR adjust the node selector to only select node version 8.4 or higher. Resolves: #88202 --- .../rest-api-spec/test/mixed_cluster/140_user_profile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/140_user_profile.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/140_user_profile.yml index 6d396fbf1684d..a8c3015ecbc8a 100644 --- a/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/140_user_profile.yml +++ b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/140_user_profile.yml @@ -8,7 +8,7 @@ - do: node_selector: - version: " 8.3.0 - " + version: " 8.4.0 - " security.activate_user_profile: body: > { @@ -22,7 +22,7 @@ - do: node_selector: - version: " 8.3.0 - " + version: " 8.4.0 - " security.get_user_profile: uid: "$profile_uid"