소스 검색

[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
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/140_user_profile.yml

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