aboutsummaryrefslogtreecommitdiffstats
path: root/cps-ri
diff options
context:
space:
mode:
authorlukegleeson <luke.gleeson@est.tech>2022-10-18 17:06:54 +0100
committerlukegleeson <luke.gleeson@est.tech>2022-10-18 17:06:54 +0100
commit0ed3b414b7eba943114deb68b1c3f8e541ab1794 (patch)
treec073108557b12460e38a950d563e67ccafa9b02d /cps-ri
parenta083f7c9128d19b211f6022d6723a8d4bc9d0f76 (diff)
Increase read time of get datanode test
Build was failing locally for me with development applications open (intellij, chrome, etc...) After discussion with Toine we are prioritising performance test pipeline with suggested increase from 3.5 seconds to 6 seconds. Issue-ID: CPS-1171 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I335fda7ba19b1fb8f4aa543833df65de26d9ccc3
Diffstat (limited to 'cps-ri')
-rw-r--r--cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsToDataNodePerfSpec.groovy4
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
}