From 0d1e07a70c0c43a0e8efc62235de8514a34ad3cf Mon Sep 17 00:00:00 2001 From: "saul.gill" Date: Tue, 25 Jan 2022 13:40:27 +0000 Subject: 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 --- .../onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'model/engine-model/src/test') 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 +} -- cgit 1.2.3-korg