xBis7 commented on code in PR #5540:
URL: https://github.com/apache/hadoop/pull/5540#discussion_r1167426661


##########
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestIdentityProviders.java:
##########
@@ -51,6 +54,9 @@ public int getPriorityLevel() {
     }
   }
 
+  @Rule
+  public ExpectedException exception = ExpectedException.none();

Review Comment:
   It seems that it has been deprecated. Replacing it with `assertThrows`, 
should fix the issue.



-- 
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]

Reply via email to