MAPREDUCE-7076. TestNNBench#testNNBenchCreateReadAndDelete failing in our internal build

This closes #1089

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
pingsutw 2019-07-14 00:27:46 +08:00 committed by Akira Ajisaka
parent c533b79c32
commit ee87e9a42e
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 1 additions and 1 deletions

View File

@ -668,7 +668,7 @@ public class NNBench extends Configured implements Tool {
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) {