sarankk commented on code in PR #270:
URL: https://github.com/apache/cassandra-sidecar/pull/270#discussion_r2450003595


##########
integration-tests/src/integrationTest/org/apache/cassandra/sidecar/acl/authorization/RoleBasedAuthorizationIntegrationTest.java:
##########
@@ -656,6 +667,157 @@ void testGrantingCdcFeaturePermission() throws Exception
                                                
HttpResponseStatus.INTERNAL_SERVER_ERROR.code());
     }
 
+    @Test
+    void testAuthorizationCaching()
+    {
+        SidecarMetrics metrics = 
serverWrapper.injector.getInstance(SidecarMetrics.class);
+
+        CacheStats baseline = 
metrics.server().cache().authorizationCacheMetrics.snapshot();

Review Comment:
   Yes it is since cache stats are shared between test cases



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to