diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2023-03-30 15:10:55 +0100 |
---|---|---|
committer | danielhanrahan <daniel.hanrahan@est.tech> | 2023-03-30 15:19:15 +0100 |
commit | 2f8c7e8844b9ea68247ed12f02d1d6b8b8792857 (patch) | |
tree | 040a9ab99045bbb8ce99465e39afce6355289afd /integration-test/src/test/groovy | |
parent | 3c7f8e7f345bb6cd162f88079dee57a6d3ae42a5 (diff) |
Fix assertion in integration-test performance tests
Issue-ID: CPS-1587
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I044e4c81ce9972bb7979b494496d74beb733c5ed
Diffstat (limited to 'integration-test/src/test/groovy')
-rw-r--r-- | integration-test/src/test/groovy/org/onap/cps/integration/performance/base/PerfTestBase.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
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 } } |