Improve 32K limit tests 69/135569/3
authordanielhanrahan <daniel.hanrahan@est.tech>
Wed, 26 Jul 2023 12:19:50 +0000 (13:19 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Thu, 27 Jul 2023 12:16:39 +0000 (13:16 +0100)
commit92941fc5db6059dea26204c9f42a7b8cb9bb4416
treec139634570ff7afd4f22f6a5f85c37054cd42b11
parentad6c8d4483ee93405f0bdcb175bfcfe9fa0dccb3
Improve 32K limit tests

Some operations were previously limited to 32,768 parameters,
such as getDataNodesForMultipleXpaths. After this limit was lifted,
the tests only verified that database exceptions were not thrown.
This commit improves the tests by verifying that the operations
return or delete the expected data.

- Create 33,000 data nodes
- Verify that getDataNodesForMultipleXpaths returns 33,000 nodes
- Verify than deleteDataNodes deletes 33,000 nodes

Issue-ID: CPS-1811
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I7029ea0cf1d4e95c5ca814ca62c222fc5b9ddc7e
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/CpsDataServiceLimitsPerfTest.groovy