Skip to content

Commit 067db1f

Browse files
authored
Fix test of API key creation in a mixed cluster (#59680)
RoleDescriptors are mandatory prior to v7.3 Relates: #59425
1 parent 4ad8bef commit 067db1f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/120_api_key_auth.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
"Test API key authentication will work in a mixed cluster":
33

44
- skip:
5-
version: " - 7.99.99"
6-
reason: "https://github.com/elastic/elasticsearch/issues/59425"
75
features: headers
86

97
- do:
108
security.create_api_key:
119
body: >
1210
{
13-
"name": "api-key-in-mixed-cluster"
11+
"name": "api-key-in-mixed-cluster",
12+
"role_descriptors": {}
1413
}
1514
- match: { name: "api-key-in-mixed-cluster" }
1615
- is_true: id

0 commit comments

Comments
 (0)