bipinprasad commented on code in PR #3479:
URL: https://github.com/apache/storm/pull/3479#discussion_r881037696
##########
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");
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]