HDFS-3852. TestHftpDelegationToken is broken after HADOOP-8225 (daryn)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1379623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daryn Sharp 2012-08-31 21:31:55 +00:00
parent 94129df354
commit 94c69f2c82
2 changed files with 3 additions and 1 deletions

View File

@ -1585,6 +1585,8 @@ Release 0.23.3 - UNRELEASED
HDFS-3873. Hftp assumes security is disabled if token fetch fails (daryn)
HDFS-3852. TestHftpDelegationToken is broken after HADOOP-8225 (daryn)
Release 0.23.2 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -53,7 +53,7 @@ public class TestHftpDelegationToken {
new Text("127.0.0.1:8020"));
user.addToken(token);
Token<?> token2 = new Token<TokenIdentifier>
(null, null, new Text("other token"), new Text("127.0.0.1:8020"));
(null, null, new Text("other token"), new Text("127.0.0.1:8021"));
user.addToken(token2);
assertEquals("wrong tokens in user", 2, user.getTokens().size());
FileSystem fs =