forked from apache/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[authz] more tests for SentryPrivilegesFetcher's cache
This changelist adds more coverage for the behavior of the SentryPrivilegesFetcher's cache. In particular, newly added assertions verify the behavior of the cache w.r.t. to cache operations exposed via the metric counters/gauges (inserts, lookups, hits, misses, etc.). I also updated the key pattern for the cache entries, dropping the leading '/' symbols since it didn't serve any particular purpose. This is a follow-up to a10d025. Change-Id: I7e51f214e6c26eeccf2d2556a036b9fb1e656e45 Reviewed-on: http://gerrit.cloudera.org:8080/13125 Tested-by: Kudu Jenkins Reviewed-by: Hao Hao <[email protected]>
- Loading branch information
1 parent
89edd31
commit 7ac1ed6
Showing
4 changed files
with
171 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters