diff options
author | saul.gill <saul.gill@est.tech> | 2022-01-25 13:40:27 +0000 |
---|---|---|
committer | saul.gill <saul.gill@est.tech> | 2022-01-25 15:45:58 +0000 |
commit | 0d1e07a70c0c43a0e8efc62235de8514a34ad3cf (patch) | |
tree | 3ae179748f12924f78ec83d2367dfc8d0f82806e /model/engine-model/src/test/java | |
parent | 5cd5e12a432732068c7c624c5ab1d7bf58e85b3d (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>
Diffstat (limited to 'model/engine-model/src/test/java')
-rw-r--r-- | model/engine-model/src/test/java/org/onap/policy/apex/model/enginemodel/concepts/EngineStatsTest.java | 4 |
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 +} |