From 2f8c7e8844b9ea68247ed12f02d1d6b8b8792857 Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Thu, 30 Mar 2023 15:10:55 +0100 Subject: Fix assertion in integration-test performance tests Issue-ID: CPS-1587 Signed-off-by: danielhanrahan Change-Id: I044e4c81ce9972bb7979b494496d74beb733c5ed --- .../org/onap/cps/integration/performance/base/PerfTestBase.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integration-test/src/test/groovy/org/onap') diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/PerfTestBase.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/PerfTestBase.groovy index 25cd704311..4afdabe924 100644 --- a/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/PerfTestBase.groovy +++ b/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/PerfTestBase.groovy @@ -64,7 +64,7 @@ abstract class PerfTestBase extends CpsIntegrationSpecBase { def record = String.format('%2d.%-40s limit%,7d took %,7d ms ', PERFORMANCE_RECORD.size() + 1, shortTitle, thresholdInMs, recordedTimeInMs) record += pass ? 'PASS' : 'FAIL' PERFORMANCE_RECORD.add(record) - assert recordedTimeInMs != thresholdInMs + assert recordedTimeInMs <= thresholdInMs return true } } -- cgit 1.2.3-korg