zhengchenyu commented on code in PR #4408:
URL: https://github.com/apache/hadoop/pull/4408#discussion_r895174808


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestClientRMTokens.java:
##########
@@ -204,7 +204,7 @@ public void testDelegationToken() throws IOException, 
InterruptedException {
         fail("Should not have succeeded with an expired token");
       } catch (Exception e) {
         assertEquals(InvalidToken.class.getName(), e.getClass().getName());
-        assertTrue(e.getMessage().contains("is expired"));
+        assertTrue(e.getMessage().contains("Token  has expired"));

Review Comment:
   I have fix this code according to your advice. Maybe it's outdated code, I 
have rebase it.



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