Use asterisk instead of empty string to clear all cached entries (#63907) (#63989)

The officially supported way to clearing all entries from a cache is to use 
wildcard of either * or _all. Though empty string has the same effect, it was
never intended. Therefore the tests should not use empty string and this PR
changes them to use *.
This commit is contained in:
Yang Wang 2020-10-21 23:14:01 +11:00 committed by GitHub
parent f2517678aa
commit 428fd7218c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ teardown:
- do:
security.clear_api_key_cache:
ids: ""
ids: "*"
- match: { _nodes.failed: 0 }

View File

@ -338,5 +338,5 @@ teardown:
- do:
security.clear_cached_privileges:
application: ""
application: "*"
- match: { _nodes.failed: 0 }