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

This closes #1089

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit ee87e9a42e)
This commit is contained in:
pingsutw 2019-07-14 00:27:46 +08:00 committed by Akira Ajisaka
parent 15344006bc
commit 772cacdbdd
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 startTime = getConf().getLong("test.nnbench.starttime", 0l);
long currentTime = System.currentTimeMillis(); long currentTime = System.currentTimeMillis();
long sleepTime = startTime - currentTime; long sleepTime = startTime - currentTime;
boolean retVal = false; boolean retVal = true;
// If the sleep time is greater than 0, then sleep and return // If the sleep time is greater than 0, then sleep and return
if (sleepTime > 0) { if (sleepTime > 0) {