diff options
author | Sourabh Sourabh <sourabh.sourabh@est.tech> | 2023-01-16 08:40:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-01-16 08:40:23 +0000 |
commit | ecfce9d3e46410e1158c0f640fa833c101c4bda4 (patch) | |
tree | 8642f87d0c5b8961e847deab5f57d67cfc69c182 /cps-path-parser/src/test | |
parent | ef2b1518cf984f34b0640eb16ed44b26c9192efe (diff) | |
parent | 9c56b3032222b57549aa17dd281e4794fd9e25b6 (diff) |
Merge "Fetch CM handles by collection of xpaths"
Diffstat (limited to 'cps-path-parser/src/test')
-rw-r--r-- | cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/performance/CpsPathUtilPerfTest.groovy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/performance/CpsPathUtilPerfTest.groovy b/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/performance/CpsPathUtilPerfTest.groovy index 2ba20c1c5f..e5e304b47d 100644 --- a/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/performance/CpsPathUtilPerfTest.groovy +++ b/cps-path-parser/src/test/groovy/org/onap/cps/cpspath/parser/performance/CpsPathUtilPerfTest.groovy @@ -35,9 +35,9 @@ class CpsPathUtilPerfTest extends Specification { CpsPathUtil.getNormalizedXpath('//child[@other-leaf=1]/leaf-name[text()="search"]/ancestor::parent') } stopWatch.stop() - then: 'it takes less then 1,000 milliseconds' + then: 'it takes less then 1,100 milliseconds' // In CI this actually takes about 0.3-0.5 sec which is approx. 50+ parser executions per millisecond! - assert stopWatch.getTotalTimeMillis() < 1000 + assert stopWatch.getTotalTimeMillis() < 1100 } } |