hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x...@apache.org
Subject hadoop git commit: YARN-5875. TestTokenClientRMService#testTokenRenewalWrongUser fails. Contributed by Gergely Novák.
Date Tue, 15 Nov 2016 21:58:36 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 15f08e929 -> fc4c0595b


YARN-5875. TestTokenClientRMService#testTokenRenewalWrongUser fails. Contributed by Gergely
Novák.

(cherry picked from commit d5c396ccb361e1a0cf4307ce1d1b37fae0eec250)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/fc4c0595
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/fc4c0595
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/fc4c0595

Branch: refs/heads/branch-2.8
Commit: fc4c0595be8b1188df07c9313434327447487919
Parents: 15f08e9
Author: Xiao Chen <xiao@apache.org>
Authored: Tue Nov 15 13:54:51 2016 -0800
Committer: Xiao Chen <xiao@apache.org>
Committed: Tue Nov 15 13:57:43 2016 -0800

----------------------------------------------------------------------
 .../yarn/server/resourcemanager/TestTokenClientRMService.java   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/fc4c0595/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestTokenClientRMService.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestTokenClientRMService.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestTokenClientRMService.java
index 351f068..2a4e49d 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestTokenClientRMService.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestTokenClientRMService.java
@@ -123,8 +123,9 @@ public class TestTokenClientRMService {
             return null;
           } catch (YarnException ex) {
             Assert.assertTrue(ex.getMessage().contains(
-                owner.getUserName() + " tries to renew a token with renewer "
-                    + other.getUserName()));
+                owner.getUserName() + " tries to renew a token"));
+            Assert.assertTrue(ex.getMessage().contains(
+                "with non-matching renewer " + other.getUserName()));
             throw ex;
           }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message