bipinprasad commented on code in PR #3479: URL: https://github.com/apache/storm/pull/3479#discussion_r881037947
########## storm-client/test/jvm/org/apache/storm/security/auth/authorizer/DRPCSimpleACLAuthorizerTest.java: ########## @@ -68,101 +68,101 @@ private static ReqContext makeMockContext(String user) { @Test public void test_partial_authorization() { - Assert.assertFalse("Deny execute to unauthroized user", - isPermitted(strictHandler, ReqContext.context(), "execute", partialFunction)); + assertFalse(isPermitted(strictHandler, ReqContext.context(), "execute", partialFunction), + "Deny execute to unauthorized user"); - Assert.assertTrue("Allow execute to authorized kerb user for correct function", - isPermitted(strictHandler, aliceKerbContext, "execute", partialFunction)); + assertTrue(isPermitted(strictHandler, aliceKerbContext, "execute", partialFunction), + "Allow execute to authorized kerb user for correct function"); Review Comment: negate error message -- 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: dev-unsubscr...@storm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org