HDFS-11893. Fix TestDFSShell.testMoveWithTargetPortEmpty failure. Contributed by Brahma Reddy Battula.
(cherry picked from commit 0dcf843c008f2b9cece8c0a0cef78140398ac464)
This commit is contained in:
parent
406d8afdd4
commit
5cbdefbcc0
@ -744,7 +744,7 @@ public void testMoveWithTargetPortEmpty() throws Exception {
|
|||||||
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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user