浏览代码

[Test] Fix user profile YAML tests in a mixed cluster (#88208)

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
Yang Wang 3 年之前
父节点
当前提交
4cdfe7e1b1

+ 2 - 2
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"