From: Arpit Singh Date: Thu, 9 Oct 2025 11:46:19 +0000 (+0530) Subject: Ignore CPS Delta performance tests X-Git-Tag: 3.7.2~11 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F142253%2F1;p=cps.git Ignore CPS Delta performance tests Patch adds @Ignore annotation to skip Delta Report related performance tests. This is to test the stability of other tests that are impacted by delta report performance tests. Issue-ID: CPS-2997 Change-Id: I944b3941e92c2e74a05c1cd51803acf915b236d2 Signed-off-by: Arpit Singh --- diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/CpsPerfTestBase.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/CpsPerfTestBase.groovy index b133d22bba..dd8f9c77aa 100644 --- a/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/CpsPerfTestBase.groovy +++ b/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/CpsPerfTestBase.groovy @@ -33,7 +33,6 @@ class CpsPerfTestBase extends PerfTestBase { static final def CPS_PERFORMANCE_TEST_DATASPACE = 'cpsPerformanceDataspace' static final def OPENROADM_ANCHORS = 3 - static final def MODIFIED_OPENROADM_ANCHORS = 1 static final def OPENROADM_DEVICES_PER_ANCHOR = 1000 static final def OPENROADM_DATANODES_PER_DEVICE = 86 @@ -55,7 +54,6 @@ class CpsPerfTestBase extends PerfTestBase { def createInitialData() { addOpenRoadModel() addOpenRoadData() - addModifiedOpenRoadData() } def 'CPS pre-load test data'() { diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/DeltaPerfTest.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/DeltaPerfTest.groovy index 62b8d0df12..87e77c172c 100644 --- a/integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/DeltaPerfTest.groovy +++ b/integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/DeltaPerfTest.groovy @@ -19,6 +19,7 @@ package org.onap.cps.integration.performance.cps +import org.junit.Ignore import org.onap.cps.api.CpsDeltaService import org.onap.cps.integration.performance.base.CpsPerfTestBase @@ -34,6 +35,7 @@ class DeltaPerfTest extends CpsPerfTestBase{ def jsonPayload = generateModifiedOpenRoadData(1000, 200, 200, 200) + @Ignore def 'Get delta between 2 anchors with grouping enabled and #scenario'() { when: 'attempt to get delta between two 2 anchors' resourceMeter.start() @@ -51,6 +53,7 @@ class DeltaPerfTest extends CpsPerfTestBase{ 'all descendants' | '/' | INCLUDE_ALL_DESCENDANTS || 18.0 } + @Ignore def 'Get delta between 2 anchors with grouping disabled and #scenario'() { when: 'attempt to get delta between two 2 anchors' resourceMeter.start() @@ -68,6 +71,7 @@ class DeltaPerfTest extends CpsPerfTestBase{ 'all descendants' | '/openroadm-devices' | INCLUDE_ALL_DESCENDANTS || 20.0 } + @Ignore def 'Get delta between an anchor and JSON payload with grouping enabled and #scenario'() { when: 'attempt to get delta between an anchor and JSON payload' resourceMeter.start() @@ -83,6 +87,7 @@ class DeltaPerfTest extends CpsPerfTestBase{ 'all descendants' | INCLUDE_ALL_DESCENDANTS || 6.0 } + @Ignore def 'Get delta between an anchor and JSON payload with grouping disabled and #scenario'() { when: 'attempt to get delta between an anchor and JSON payload' resourceMeter.start() @@ -98,6 +103,7 @@ class DeltaPerfTest extends CpsPerfTestBase{ 'all descendants' | INCLUDE_ALL_DESCENDANTS || 7.0 } + @Ignore def 'Apply delta report to an anchor'() { given: 'a delta report between 2 anchors' def deltaReport = objectUnderTest.getDeltaByDataspaceAndAnchors(CPS_PERFORMANCE_TEST_DATASPACE, 'openroadm-modified1', 'openroadm1', '/openroadm-devices', INCLUDE_ALL_DESCENDANTS, true) diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/QueryPerfTest.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/QueryPerfTest.groovy index e0de3331ae..9ca2931a9b 100644 --- a/integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/QueryPerfTest.groovy +++ b/integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/QueryPerfTest.groovy @@ -54,7 +54,7 @@ class QueryPerfTest extends CpsPerfTestBase { def 'Query complete data trees across all anchors with #scenario.'() { given: 'expected number of data nodes to be returned' - def expectedNumberOfDataNodes = (OPENROADM_ANCHORS + MODIFIED_OPENROADM_ANCHORS) * (OPENROADM_DEVICES_PER_ANCHOR * OPENROADM_DATANODES_PER_DEVICE + additionalDataNodesPerDevice) + def expectedNumberOfDataNodes = OPENROADM_ANCHORS * (OPENROADM_DEVICES_PER_ANCHOR * OPENROADM_DATANODES_PER_DEVICE + additionalDataNodesPerDevice) when: 'query data nodes across all anchors' resourceMeter.start() def result = objectUnderTest.queryDataNodesAcrossAnchors(CPS_PERFORMANCE_TEST_DATASPACE, cpspath, INCLUDE_ALL_DESCENDANTS, PaginationOption.NO_PAGINATION)