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:
parent
15344006bc
commit
772cacdbdd
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue