HDFS-2038. Update TestHDFSCLI to handle relative paths with globs. Contributed by Kihwal Lee

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1298066 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2012-03-07 19:44:47 +00:00
parent 0a2b413dff
commit 22738ae1d0
3 changed files with 1072 additions and 1139 deletions

View File

@ -661,6 +661,9 @@ Release 0.23.2 - UNRELEASED
HDFS-3032. Change DFSClient.renewLease() so that it only retries up to the HDFS-3032. Change DFSClient.renewLease() so that it only retries up to the
lease soft-limit. (Kihwal Lee via szetszwo) lease soft-limit. (Kihwal Lee via szetszwo)
HDFS-2038. Update TestHDFSCLI to handle relative paths with globs.
(Kihwal Lee via szetszwo)
Release 0.23.1 - 2012-02-17 Release 0.23.1 - 2012-02-17
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -29,6 +29,7 @@
import org.junit.After; import org.junit.After;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
import org.junit.Before; import org.junit.Before;
import org.junit.Test;
public class TestHDFSCLI extends CLITestHelperDFS { public class TestHDFSCLI extends CLITestHelperDFS {
@ -95,7 +96,7 @@ protected Result execute(CLICommand cmd) throws Exception {
//TODO: The test is failing due to the change in HADOOP-7360. //TODO: The test is failing due to the change in HADOOP-7360.
// HDFS-2038 is going to fix it. Disable the test for the moment. // HDFS-2038 is going to fix it. Disable the test for the moment.
//@Test @Test
@Override @Override
public void testAll () { public void testAll () {
super.testAll(); super.testAll();