HDFS-11893. Fix TestDFSShell.testMoveWithTargetPortEmpty failure. Contributed by Brahma Reddy Battula.
(cherry picked from commit 0dcf843c00
)
This commit is contained in:
parent
fe6de5e594
commit
0cba282261
|
@ -773,7 +773,7 @@ public class TestDFSShell {
|
|||
argv = new String[3];
|
||||
argv[0] = "-mv";
|
||||
argv[1] = srcFs.getUri() + "/testfile";
|
||||
argv[2] = "hdfs://localhost/testfile2";
|
||||
argv[2] = "hdfs://" + srcFs.getUri().getHost() + "/testfile2";
|
||||
int ret = ToolRunner.run(shell, argv);
|
||||
assertEquals("mv should have succeeded", 0, ret);
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue