You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "kaijchen (via GitHub)" <gi...@apache.org> on 2023/03/14 09:37:53 UTC
[GitHub] [ozone] kaijchen commented on a diff in pull request #4396: HDDS-8156. Backport HDDS-7921 into ozone-1.3
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org