diff --git a/src/integrationTest/java/org/opensearch/security/api/FlushCacheApiIntegrationTest.java b/src/integrationTest/java/org/opensearch/security/api/FlushCacheApiIntegrationTest.java index 048078badb..89b7344631 100644 --- a/src/integrationTest/java/org/opensearch/security/api/FlushCacheApiIntegrationTest.java +++ b/src/integrationTest/java/org/opensearch/security/api/FlushCacheApiIntegrationTest.java @@ -50,7 +50,7 @@ public void testFlushCache() throws Exception { assertThat( deleteUserCacheResponse.getBody(), deleteAllCacheResponse.getTextFromJsonBody("/message"), - is("Cache invalidated for user: " + TEST_USER) + is("Cache flushed successfully.") ); }); }