HDFS-13404. Addendum: RBF: TestRouterWebHDFSContractAppend.testRenameFileBeingAppended fail. Contributed by Takanobu Asanuma.

This commit is contained in:
Ayush Saxena 2019-06-05 22:20:26 +05:30 committed by Brahma Reddy Battula
parent ba221dc50e
commit b52fd05d42

View File

@ -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");