Enhance read performance tests 48/132548/2
authorToineSiebelink <toine.siebelink@est.tech>
Thu, 1 Dec 2022 11:27:22 +0000 (11:27 +0000)
committerToine Siebelink <toine.siebelink@est.tech>
Fri, 2 Dec 2022 15:21:02 +0000 (15:21 +0000)
commitfe9f46e0cf3c62e053a0e8a3ecbb7869e8c66d0f
tree73ecfde8a902223ff2f10a79975171cc1387aa0e
parent793c8501b43d433ced5ce6a1b688942eccb6e40c
Enhance read performance tests

- Use cleaner base-data to prevent aready existing exception on generated IDs
- Increased sample size to 10K
- Test 3 scenarios now: get parent, get root and query as all 3 required separate perf improvements
- Adjusted Timing for new size (allowing approx 10% margin in Nordix build)

Issue-ID: CPS-1171

Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Id3867c8d33cd2c57d4d815c687561e23d1029bfd
cps-ri/src/test/groovy/org/onap/cps/spi/performance/CpsToDataNodePerfTest.groovy
cps-ri/src/test/resources/data/perf-test.sql [new file with mode: 0644]