diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/api_key/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/api_key/10_basic.yml index 0ce979deda3..58cdc2657f5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/api_key/10_basic.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/api_key/10_basic.yml @@ -195,7 +195,7 @@ teardown: - do: security.clear_api_key_cache: - ids: "" + ids: "*" - match: { _nodes.failed: 0 } diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/privileges/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/privileges/10_basic.yml index 6d79a971172..f94e2a55267 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/privileges/10_basic.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/privileges/10_basic.yml @@ -338,5 +338,5 @@ teardown: - do: security.clear_cached_privileges: - application: "" + application: "*" - match: { _nodes.failed: 0 }