From ee87e9a42e4ff1f27a6f1e5b7c7de97f8989d9b2 Mon Sep 17 00:00:00 2001 From: pingsutw Date: Sun, 14 Jul 2019 00:27:46 +0800 Subject: [PATCH] MAPREDUCE-7076. TestNNBench#testNNBenchCreateReadAndDelete failing in our internal build This closes #1089 Signed-off-by: Akira Ajisaka --- .../src/test/java/org/apache/hadoop/hdfs/NNBench.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/hdfs/NNBench.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/hdfs/NNBench.java index 2346c3c472..e339d485db 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/hdfs/NNBench.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/hdfs/NNBench.java @@ -668,7 +668,7 @@ private boolean barrier() { long startTime = getConf().getLong("test.nnbench.starttime", 0l); long currentTime = System.currentTimeMillis(); long sleepTime = startTime - currentTime; - boolean retVal = false; + boolean retVal = true; // If the sleep time is greater than 0, then sleep and return if (sleepTime > 0) {