Skip to content

Commit

Permalink
Stabilize CachingPolicyEnforcerProviderTest
Browse files Browse the repository at this point in the history
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
  • Loading branch information
Yannic92 committed Jul 13, 2022
1 parent ad6d022 commit d25d348
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public void policyTagInvalidatesCacheOfPolicy() {
final PolicyId policyId = PolicyId.generateRandom();
cachingActor.tell(PolicyTag.of(policyId, 1234L), ActorRef.noSender());

verify(cache).invalidate(policyId);
verify(cache, timeout(3000)).invalidate(policyId);
verifyNoMoreInteractions(cache);
}};

Expand Down

0 comments on commit d25d348

Please sign in to comment.