diff options
author | Lee Anjella Macabuhay <lee.anjella.macabuhay@est.tech> | 2023-11-14 15:06:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-11-14 15:06:28 +0000 |
commit | 67f9a88dbd9f92c21cdfc0b0a2628ae72b06aca0 (patch) | |
tree | ed322735b2cf5d24a140cf5af6cb9c08cdd6a6c8 /integration-test | |
parent | 2240e46412ca11a6deb4b678b52e4e242e298b03 (diff) | |
parent | 466bb220909f1836232d82091196a942f16c283c (diff) |
Merge "Fix PASS/FAIL reporting in performance test summary"
Diffstat (limited to 'integration-test')
-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 b0a105c7fe..a96d7f64b6 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 @@ -55,7 +55,7 @@ abstract class PerfTestBase extends CpsIntegrationSpecBase { abstract def createInitialData() def recordAndAssertResourceUsage(String shortTitle, double thresholdInSec, double recordedTimeInSec, memoryLimit, memoryUsageInMB) { - def pass = recordedTimeInSec <= thresholdInSec + def pass = recordedTimeInSec <= thresholdInSec && memoryUsageInMB <= memoryLimit if (shortTitle.length() > 40) { shortTitle = shortTitle.substring(0, 40) } |