summaryrefslogtreecommitdiffstats
path: root/k6-tests/setup.sh
diff options
context:
space:
mode:
authorsourabh_sourabh <sourabh.sourabh@est.tech>2024-10-17 08:22:56 +0100
committersourabh_sourabh <sourabh.sourabh@est.tech>2024-10-17 11:49:41 +0100
commit16be5fb7abcb2979b6f078bbea54bcf9b01e41ce (patch)
tree5f96f2a60dd69c85cff89d55cfe5be59354c07cc /k6-tests/setup.sh
parent20406efebd6b496c7aedb297cc89d7d9317545d6 (diff)
Refactor and Optimize ModuleSyncWatchdog for Improved Lock Handling and Queue Management
- Enhanced logging for populateWorkQueueIfNeeded and resetPreviouslyLockedCmHandles methods, improving clarity and error handling. - Improved readability and maintainability of the locking mechanism with Hazelcast's FencedLock. - Optimized error handling in catch blocks, logging detailed exception messages and stack traces for better troubleshooting. - Refined lock acquisition and release flow, with clear log messages for both successful and failed lock operations, ensuring safe handling of Hazelcast distributed locks. Issue-ID: CPS-2403 Change-Id: Ie089f36a817d4965782235b51ee987ef054516b1 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'k6-tests/setup.sh')
-rwxr-xr-xk6-tests/setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/k6-tests/setup.sh b/k6-tests/setup.sh
index 346b9c0690..c2cdc206be 100755
--- a/k6-tests/setup.sh
+++ b/k6-tests/setup.sh
@@ -18,7 +18,7 @@
docker-compose -f ../docker-compose/docker-compose.yml --profile dmi-stub up -d
echo "Waiting for CPS to start..."
-READY_MESSAGE="Processing module sync fetched 0 advised cm handles from DB"
+READY_MESSAGE="Inventory Model updated successfully"
# Get the container IDs of the cps-and-ncmp replicas
CONTAINER_IDS=$(docker ps --filter "name=cps-and-ncmp" --format "{{.ID}}")