Fix test of API key creation in a mixed cluster (#59680)
RoleDescriptors are mandatory prior to v7.3 Relates: #59425
This commit is contained in:
parent
4ad8bef33b
commit
067db1fc3b
|
@ -2,15 +2,14 @@
|
||||||
"Test API key authentication will work in a mixed cluster":
|
"Test API key authentication will work in a mixed cluster":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 7.99.99"
|
|
||||||
reason: "https://github.com/elastic/elasticsearch/issues/59425"
|
|
||||||
features: headers
|
features: headers
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
security.create_api_key:
|
security.create_api_key:
|
||||||
body: >
|
body: >
|
||||||
{
|
{
|
||||||
"name": "api-key-in-mixed-cluster"
|
"name": "api-key-in-mixed-cluster",
|
||||||
|
"role_descriptors": {}
|
||||||
}
|
}
|
||||||
- match: { name: "api-key-in-mixed-cluster" }
|
- match: { name: "api-key-in-mixed-cluster" }
|
||||||
- is_true: id
|
- is_true: id
|
||||||
|
|
Loading…
Reference in New Issue