HDFS-13404. Addendum: RBF: TestRouterWebHDFSContractAppend.testRenameFileBeingAppended fail. Contributed by Takanobu Asanuma.
This commit is contained in:
parent
ba221dc50e
commit
b52fd05d42
@ -137,7 +137,7 @@ public void testRenameFileBeingAppended() throws Throwable {
|
|||||||
// Some filesystems like WebHDFS doesn't assure sequential consistency.
|
// Some filesystems like WebHDFS doesn't assure sequential consistency.
|
||||||
// In such a case, delay is needed. Given that we can not check the lease
|
// In such a case, delay is needed. Given that we can not check the lease
|
||||||
// because here is closed in client side package, simply add a sleep.
|
// because here is closed in client side package, simply add a sleep.
|
||||||
Thread.sleep(10);
|
Thread.sleep(100);
|
||||||
}
|
}
|
||||||
outputStream.write(dataset);
|
outputStream.write(dataset);
|
||||||
Path renamed = new Path(testPath, "renamed");
|
Path renamed = new Path(testPath, "renamed");
|
||||||
|
Loading…
Reference in New Issue
Block a user