Adjust timing for Creating Delta Report Test Data 64/142264/2
authorArpit Singh <AS00745003@techmahindra.com>
Thu, 23 Oct 2025 04:01:41 +0000 (09:31 +0530)
committerArpit Singh <AS00745003@techmahindra.com>
Thu, 23 Oct 2025 06:44:11 +0000 (12:14 +0530)
The recorded time for creating a modified variant of openroadm anchor
is slightly more when it is being run on the Jenkins pipeline.

Fix is to adjust the timings by adding more buffer for the test to run successfully.

Issue-ID: CPS-3018
Change-Id: I654b16dc68c83d9433d4ec0d31f9b889a558eca9
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/DeltaPerfTest.groovy

index 6316991..e2c838a 100644 (file)
@@ -45,7 +45,7 @@ class DeltaPerfTest extends CpsPerfTestBase{
             resourceMeter.stop()
             def durationInSeconds = resourceMeter.getTotalTimeInSeconds()
         then: 'the anchor is created within expected time'
-            recordAndAssertResourceUsage('CPS: Creating modified openroadm anchor', 10, durationInSeconds, resourceMeter.getTotalMemoryUsageInMB(), false)
+            recordAndAssertResourceUsage('CPS: Creating modified openroadm anchor', 25, durationInSeconds, resourceMeter.getTotalMemoryUsageInMB(), false)
     }
 
     def 'Get delta between 2 anchors with grouping enabled and #scenario'() {