aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaul.gill <saul.gill@est.tech>2022-01-25 13:40:27 +0000
committersaul.gill <saul.gill@est.tech>2022-01-25 15:45:58 +0000
commit0d1e07a70c0c43a0e8efc62235de8514a34ad3cf (patch)
tree3ae179748f12924f78ec83d2367dfc8d0f82806e
parent5cd5e12a432732068c7c624c5ab1d7bf58e85b3d (diff)
Fix intermittent build test error
Error visible intermittently in CLM builds Changed running order of assertions to fix Intermittent error no loger observed Issue-ID: POLICY-3893 Change-Id: I27e2c33f298e10f8b9dda85a015258db105043b7 Signed-off-by: saul.gill <saul.gill@est.tech>
-rw-r--r--model/engine-model/src/test/java/org/onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/model/engine-model/src/test/java/org/onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java b/model/engine-model/src/test/java/org/onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java
index 9ecfcdd2c..a40e8cbbf 100644
--- a/model/engine-model/src/test/java/org/onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java
+++ b/model/engine-model/src/test/java/org/onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java
@@ -109,9 +109,9 @@ public class EngineStatsTest {
stats.reset();
stats.engineStart();
stats.setEventCount(4);
+ checkUpTimeMetric(stats);
stats.executionEnter(new AxArtifactKey());
checkEventsCountMetric(stats);
- checkUpTimeMetric(stats);
checkAvgExecTimeMetric(stats);
checkEngineStartTimestampMetric(stats);
@@ -268,4 +268,4 @@ public class EngineStatsTest {
checkEngineStartTimestampMetric(stats);
checkEngineStartTimestampMetric(stats);
}
-} \ No newline at end of file
+}