kaijchen commented on code in PR #4396:
URL: https://github.com/apache/ozone/pull/4396#discussion_r1135258057
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyManagerImpl.java:
##########
@@ -634,9 +629,9 @@ public void testInvalidPrefixAcl() throws IOException {
.build();
// add acl with invalid prefix name
- exception.expect(OMException.class);
- exception.expectMessage("Invalid prefix name");
- prefixManager.addAcl(ozInvalidPrefix, ozAcl1);
+ OMException ex = assertThrows(OMException.class, () ->
Review Comment:
@adoroszlai This is different from #4257, so there must be some error
introduced on the master.
--
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]