hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject [36/50] hadoop git commit: YARN-5875. TestTokenClientRMService#testTokenRenewalWrongUser fails. Contributed by Gergely Novák.
Date Thu, 17 Nov 2016 02:02:38 GMT
YARN-5875. TestTokenClientRMService#testTokenRenewalWrongUser fails. Contributed by Gergely
Novák.


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

Branch: refs/heads/YARN-4752
Commit: f121d0b036fe031dd24f2f549ae5729304bfa59c
Parents: 264ddb1
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:58:11 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/f121d0b0/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