From e2a900b21763baec02c64f69ce4ef05d441a7483 Mon Sep 17 00:00:00 2001 From: Ayush Saxena Date: Wed, 5 Jun 2019 22:20:26 +0530 Subject: [PATCH] HDFS-13404. Addendum: RBF: TestRouterWebHDFSContractAppend.testRenameFileBeingAppended fail. Contributed by Takanobu Asanuma. --- .../apache/hadoop/fs/contract/AbstractContractAppendTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractContractAppendTest.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractContractAppendTest.java index 02a899613c6..a9fb1177397 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractContractAppendTest.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractContractAppendTest.java @@ -137,7 +137,7 @@ public abstract class AbstractContractAppendTest extends AbstractFSContractTestB // 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");