aboutsummaryrefslogtreecommitdiffstats
path: root/integration-test/src/test
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2024-11-01 17:36:42 +0000
committerdanielhanrahan <daniel.hanrahan@est.tech>2024-12-06 12:58:42 +0000
commit42dfa67015d7478eca07eb5778ec55c2c24c19a5 (patch)
tree43755fbe59c18f78e61544105df9a91ab0b59c81 /integration-test/src/test
parent2dac434c92dfd20791eda9364783846a5da8c605 (diff)
[Module Sync] Store CM-handle IDs in work queue
This fixes bug CPS-2474, handling various edge cases, such as CM handles being deleted during module sync. - Change moduleSyncWorkQueue to store CmHandleId instead of DataNode. - Freshly fetch Cm Handles in module sync task, so latest CM-handle state is used, and only process ADVISED CM handles in module sync. Issue-ID: CPS-2474 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I53d5796c56014a2bfbe5b1c3f17d3991e4feef53
Diffstat (limited to 'integration-test/src/test')
-rw-r--r--integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy
index 69cc087874..0725fe82d0 100644
--- a/integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy
+++ b/integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy
@@ -120,7 +120,7 @@ abstract class CpsIntegrationSpecBase extends Specification {
ModuleSyncService moduleSyncService
@Autowired
- BlockingQueue<DataNode> moduleSyncWorkQueue
+ BlockingQueue<String> moduleSyncWorkQueue
@Autowired
JsonObjectMapper jsonObjectMapper