YARN-5875. TestTokenClientRMService#testTokenRenewalWrongUser fails. Contributed by Gergely Novák.
(cherry picked from commit d5c396ccb361e1a0cf4307ce1d1b37fae0eec250)
This commit is contained in:
parent
f08e227671
commit
3497221fcc
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue