diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 7b712e1388..ccd0a20d66 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -82,6 +82,9 @@ Release 2.5.0 - UNRELEASED YARN-738. TestClientRMTokens is failing irregularly while running all yarn tests (Ming Ma via jlowe) + YARN-2018. TestClientRMService.testTokenRenewalWrongUser fails after + HADOOP-10562 (Ming Ma via Arpit Agarwal) + Release 2.4.1 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestClientRMService.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestClientRMService.java index 13ab17cf08..77530cffa1 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestClientRMService.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestClientRMService.java @@ -478,9 +478,8 @@ public Void run() throws Exception { checkTokenRenewal(owner, other); return null; } catch (YarnException ex) { - Assert.assertTrue(ex.getMessage().contains( - "Client " + owner.getUserName() + - " tries to renew a token with renewer specified as " + + Assert.assertTrue(ex.getMessage().contains(owner.getUserName() + + " tries to renew a token with renewer " + other.getUserName())); throw ex; }