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":
|
||||
|
||||
- skip:
|
||||
version: " - 7.99.99"
|
||||
reason: "https://github.com/elastic/elasticsearch/issues/59425"
|
||||
features: headers
|
||||
|
||||
- do:
|
||||
security.create_api_key:
|
||||
body: >
|
||||
{
|
||||
"name": "api-key-in-mixed-cluster"
|
||||
"name": "api-key-in-mixed-cluster",
|
||||
"role_descriptors": {}
|
||||
}
|
||||
- match: { name: "api-key-in-mixed-cluster" }
|
||||
- is_true: id
|
||||
|
|
Loading…
Reference in New Issue