OOZIE-2577 Flaky tests TestCoordActionInputCheckXCommand.testTimeout and testTimeoutWithException (pbacsko via rkanter)
diff --git a/core/src/test/java/org/apache/oozie/command/coord/TestCoordActionInputCheckXCommand.java b/core/src/test/java/org/apache/oozie/command/coord/TestCoordActionInputCheckXCommand.java
index 16bf288..bbe9ea7 100644
--- a/core/src/test/java/org/apache/oozie/command/coord/TestCoordActionInputCheckXCommand.java
+++ b/core/src/test/java/org/apache/oozie/command/coord/TestCoordActionInputCheckXCommand.java
@@ -750,7 +750,7 @@
long timeOutCreationTime = System.currentTimeMillis() - (12 * 60 * 1000);
setCoordActionCreationTime(actionId, timeOutCreationTime);
new CoordActionInputCheckXCommand(actionId, actionId.substring(0, actionId.indexOf("@"))).call();
- Thread.sleep(100);
+ checkCoordActionStatus(actionId, CoordinatorAction.Status.TIMEDOUT);
checkCoordAction(actionId, missingDeps, CoordinatorAction.Status.TIMEDOUT);
}
@@ -776,7 +776,7 @@
catch (Exception e) {
assertTrue(e.getMessage().contains("No FileSystem for scheme"));
}
- Thread.sleep(100);
+ checkCoordActionStatus(actionId, CoordinatorAction.Status.TIMEDOUT);
checkCoordAction(actionId, missingDeps, CoordinatorAction.Status.TIMEDOUT);
}
diff --git a/release-log.txt b/release-log.txt
index 40b698b..b56bb5e 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
-- Oozie 4.3.0 release (trunk - unreleased)
+OOZIE-2577 Flaky tests TestCoordActionInputCheckXCommand.testTimeout and testTimeoutWithException (pbacsko via rkanter)
OOZIE-2570 remove -PtestPatchCompile from patch testing as there is no such profile (gezapeti via rkanter)
OOZIE-2504 Create a log4j.properties under HADOOP_CONF_DIR in Shell Action (harsh)
OOZIE-2567 HCat connection is not closed while getting hcat cred (puru)