MAPREDUCE-2950. [Rumen] Fixed TestUserResolve. (Ravi Gummadi via amarrk)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1214084 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Amar Kamat 2011-12-14 07:57:34 +00:00
parent 71ce4a9c6a
commit b3dc6a9b92
2 changed files with 3 additions and 1 deletions

View File

@ -84,6 +84,8 @@ Release 0.23.1 - Unreleased
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES
MAPREDUCE-2950. [Rumen] Fixed TestUserResolve. (Ravi Gummadi via amarrk)
MAPREDUCE-3412. Fix 'ant docs'. (amarrk) MAPREDUCE-3412. Fix 'ant docs'. (amarrk)
MAPREDUCE-3346 [Rumen] LoggedTaskAttempt#getHostName() returns null. MAPREDUCE-3346 [Rumen] LoggedTaskAttempt#getHostName() returns null.

View File

@ -106,7 +106,7 @@ public class TestUserResolve {
// Check if the error message is as expected for non existent // Check if the error message is as expected for non existent
// user resource file. // user resource file.
fs.delete(usersFilePath, false); fs.delete(usersFilePath, false);
String expectedErrorMsg = "File " + userRsrc + " does not exist."; String expectedErrorMsg = "File " + userRsrc + " does not exist";
validateBadUsersFile(rslv, userRsrc, expectedErrorMsg); validateBadUsersFile(rslv, userRsrc, expectedErrorMsg);
// Check if the error message is as expected for empty user resource file // Check if the error message is as expected for empty user resource file