summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2024-10-16 16:07:56 +0000
committerGerrit Code Review <gerrit@onap.org>2024-10-16 16:07:56 +0000
commit20406efebd6b496c7aedb297cc89d7d9317545d6 (patch)
tree8461fa599dec1f8508df130a51a516deeba82828 /cps-ncmp-service/src/test
parente1b7a0108fb995823c491ec68800954ec8739e42 (diff)
parent75697fe5b62650db7ca53b3cb4ceb74617953c98 (diff)
Merge "Update documentation related to hazelcast"
Diffstat (limited to 'cps-ncmp-service/src/test')
-rw-r--r--cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/cache/HazelcastCacheConfigSpec.groovy4
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/cache/HazelcastCacheConfigSpec.groovy b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/cache/HazelcastCacheConfigSpec.groovy
index dc38e0fc9b..0bd838437d 100644
--- a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/cache/HazelcastCacheConfigSpec.groovy
+++ b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/cache/HazelcastCacheConfigSpec.groovy
@@ -29,10 +29,10 @@ class HazelcastCacheConfigSpec extends Specification {
def objectUnderTest = new HazelcastCacheConfig()
def 'Create Hazelcast instance with a #scenario'() {
- given: 'a cluster name and instance name'
+ given: 'a cluster name and instance config name'
objectUnderTest.clusterName = 'my cluster'
objectUnderTest.instanceConfigName = 'my instance config'
- when: 'an hazelcast instance is created (name has to be unique)'
+ when: 'a hazelcast instance is created (name has to be unique)'
def result = objectUnderTest.getOrCreateHazelcastInstance(config)
then: 'the instance is created and has the correct name'
assert result.name == 'my instance config'