diff options
author | 2022-11-22 17:09:45 +0000 | |
---|---|---|
committer | 2022-11-22 17:09:45 +0000 | |
commit | 77de212a9c4af21a2a2439750ad3f136f5e4ae60 (patch) | |
tree | dab098556491aacb6400e2e991141e52fcee6ce5 /cps-ri/src/test | |
parent | 35b7b02cc26cc4fac4d2d2f15a6d38774fba1fe6 (diff) | |
parent | b2d330d13823249991df2a24d77f09227b8c5256 (diff) |
Merge "Performance Test settings exploration"
Diffstat (limited to 'cps-ri/src/test')
-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 f7ba5dec8..781d4cb43 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 } |