HDFS-11893. Fix TestDFSShell.testMoveWithTargetPortEmpty failure. Contributed by Brahma Reddy Battula.

This commit is contained in:
Brahma Reddy Battula 2017-06-01 22:29:29 +08:00 committed by Xiaoyu Yao
parent 9d9e56c39f
commit 173e391c4e
1 changed files with 1 additions and 1 deletions

View File

@ -789,7 +789,7 @@ public class TestDFSShell {
argv = new String[3]; argv = new String[3];
argv[0] = "-mv"; argv[0] = "-mv";
argv[1] = srcFs.getUri() + "/testfile"; argv[1] = srcFs.getUri() + "/testfile";
argv[2] = "hdfs://localhost/testfile2"; argv[2] = "hdfs://" + srcFs.getUri().getHost() + "/testfile2";
int ret = ToolRunner.run(shell, argv); int ret = ToolRunner.run(shell, argv);
assertEquals("mv should have succeeded", 0, ret); assertEquals("mv should have succeeded", 0, ret);
} finally { } finally {