From 067db1fc3bae382e210f237bb2d5d7346af10181 Mon Sep 17 00:00:00 2001 From: Yang Wang Date: Thu, 16 Jul 2020 12:44:17 +1000 Subject: [PATCH] Fix test of API key creation in a mixed cluster (#59680) RoleDescriptors are mandatory prior to v7.3 Relates: #59425 --- .../rest-api-spec/test/mixed_cluster/120_api_key_auth.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/120_api_key_auth.yml b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/120_api_key_auth.yml index f4f7e1871e0..6dfae638c8c 100644 --- a/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/120_api_key_auth.yml +++ b/x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/mixed_cluster/120_api_key_auth.yml @@ -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