summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Keenan <joseph.keenan@est.tech>2022-08-18 10:52:15 +0000
committerGerrit Code Review <gerrit@onap.org>2022-08-18 10:52:15 +0000
commitdaaaa1080d08f9e076ca6f7be61010ab1db61f66 (patch)
treeeeca7873ddb327502bc0d8772177641231a2e283
parent8bc84d8bd186dbb4150871a610cc032beae7fcad (diff)
parentcc43240bdb317de2d0d5c20f1379a62989d160ef (diff)
Merge "Set Sleep Times as Environment Variable in CSIT"
-rw-r--r--csit/plans/cps/test.properties5
-rw-r--r--docker-compose/docker-compose.yml4
2 files changed, 6 insertions, 3 deletions
diff --git a/csit/plans/cps/test.properties b/csit/plans/cps/test.properties
index 47bb43b0a..449aa9381 100644
--- a/csit/plans/cps/test.properties
+++ b/csit/plans/cps/test.properties
@@ -23,4 +23,7 @@ DMI_SERVICE_URL=http://$LOCAL_IP:$DMI_PORT
DOCKER_REPO=nexus3.onap.org:10003
CPS_VERSION=latest
-DMI_VERSION=1.2.0-SNAPSHOT-latest \ No newline at end of file
+DMI_VERSION=1.2.0-SNAPSHOT-latest
+
+ADVISED_MODULES_SYNC_SLEEP_TIME_MS=2000
+CMHANDLE_DATA_SYNC_SLEEP_TIME_MS=2000 \ No newline at end of file
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index 8d3a0a357..ca7795f2f 100644
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -49,8 +49,8 @@ services:
notification.enabled: 'true'
notification.async.executor.time-out-value-in-ms: 2000
NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*'
- TIMERS_ADVISED-MODULES-SYNC_SLEEP-TIME-MS: 2000
- TIMERS_CM-HANDLE-DATA-SYNC_SLEEP-TIME-MS: 2000
+ TIMERS_ADVISED-MODULES-SYNC_SLEEP-TIME-MS: ${ADVISED_MODULES_SYNC_SLEEP_TIME_MS:-30000}
+ TIMERS_CM-HANDLE-DATA-SYNC_SLEEP-TIME-MS: ${CMHANDLE_DATA_SYNC_SLEEP_TIME_MS:-30000}
restart: unless-stopped
depends_on:
- dbpostgresql