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 0ce979deda34f..58cdc2657f5d1 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 6d79a97117207..f94e2a5526752 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 }