diff options
author | seanbeirne <sean.beirne@est.tech> | 2022-11-18 16:22:53 +0000 |
---|---|---|
committer | seanbeirne <sean.beirne@est.tech> | 2022-11-18 16:25:41 +0000 |
commit | b2d330d13823249991df2a24d77f09227b8c5256 (patch) | |
tree | e1d28008a8b678ce6a9044840721d17aa2154b95 /cps-ri/src | |
parent | d2a1f36a78fdc69d43b39f0a7852d47d78924ed5 (diff) |
Performance Test settings exploration
Issue-ID: CPS-1351
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Change-Id: I91624b74fc712078a22b9dc18851ca0b5de6a911
Diffstat (limited to 'cps-ri/src')
-rw-r--r-- | cps-ri/src/test/groovy/org/onap/cps/spi/performance/CpsToDataNodePerfTest.groovy | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cps-ri/src/test/groovy/org/onap/cps/spi/performance/CpsToDataNodePerfTest.groovy b/cps-ri/src/test/groovy/org/onap/cps/spi/performance/CpsToDataNodePerfTest.groovy index f7ba5dec83..781d4cb438 100644 --- a/cps-ri/src/test/groovy/org/onap/cps/spi/performance/CpsToDataNodePerfTest.groovy +++ b/cps-ri/src/test/groovy/org/onap/cps/spi/performance/CpsToDataNodePerfTest.groovy @@ -53,10 +53,10 @@ class CpsToDataNodePerfTest extends CpsPersistenceSpecBase { def result = objectUnderTest.getDataNode(DATASPACE_NAME, ANCHOR_NAME1, XPATH_DATA_NODE_WITH_DESCENDANTS, INCLUDE_ALL_DESCENDANTS) readStopWatch.stop() def readDurationInMillis = readStopWatch.getTime() - then: 'setup duration is under 8 seconds' - assert setupDurationInMillis < 8000 - and: 'read duration is under 1500 milliseconds' - assert readDurationInMillis < 1500 + then: 'setup duration is under 2500 milliseconds' + assert setupDurationInMillis < 2500 + and: 'read duration is under 180 milliseconds' + assert readDurationInMillis < 180 and: 'data node is returned with all the descendants populated' assert countDataNodes(result) == 1533 } |