Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
HDFS-13404. Addendum: RBF: TestRouterWebHDFSContractAppend.testRename…
Browse files Browse the repository at this point in the history
…FileBeingAppended fail. Contributed by Takanobu Asanuma.

(cherry picked from commit b52fd05)
  • Loading branch information
ayushtkn authored and aajisaka committed Dec 4, 2020
1 parent 7a5fa86 commit 7f286dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void testRenameFileBeingAppended() throws Throwable {
// Some filesystems like WebHDFS doesn't assure sequential consistency.
// 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.
Thread.sleep(10);
Thread.sleep(100);
}
outputStream.write(dataset);
Path renamed = new Path(testPath, "renamed");
Expand Down

0 comments on commit 7f286dd

Please sign in to comment.