diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2022-10-19 16:02:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-10-19 16:02:36 +0000 |
commit | b24639de32b2c89346d9888ba0acc9443babb2be (patch) | |
tree | 3b57b5a0dbb7520d57f97191cde91c2c3cc8f466 | |
parent | 72c267e06b4a8e5ec52dcfdd10581ed732076c90 (diff) | |
parent | 0ed3b414b7eba943114deb68b1c3f8e541ab1794 (diff) |
Merge "Increase read time of get datanode test"
-rw-r--r-- | cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsToDataNodePerfSpec.groovy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsToDataNodePerfSpec.groovy b/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsToDataNodePerfSpec.groovy index c36de9aaa1..5b28028133 100644 --- a/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsToDataNodePerfSpec.groovy +++ b/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsToDataNodePerfSpec.groovy @@ -54,8 +54,8 @@ class CpsToDataNodePerfSpec extends CpsPersistenceSpecBase { def readDurationInMillis = readStopWatch.getTime() then : 'setup duration is under 8 seconds' assert setupDurationInMillis < 8000 - and: 'read duration is under 3.5 seconds' - assert readDurationInMillis < 3500 + and: 'read duration is under 6 seconds' + assert readDurationInMillis < 6000 and: 'data node is returned with all the descendants populated' assert countDataNodes(result) == 1533 } |