diff options
author | lukegleeson <luke.gleeson@est.tech> | 2022-08-16 16:52:53 +0100 |
---|---|---|
committer | lukegleeson <luke.gleeson@est.tech> | 2022-08-16 16:52:53 +0100 |
commit | cc43240bdb317de2d0d5c20f1379a62989d160ef (patch) | |
tree | 5e87c05cf01fe3dfc65e4742b6229fe36ed7601a /docker-compose | |
parent | 060499cb5a89a0fd3d8480132ed82d2e291839dc (diff) |
Set Sleep Times as Environment Variable in CSIT
Sleep times for Model and Data sync were being set to 2 seconds in the docker-compose file so that it may be used in CSIT tests
This change defaults them to 30 seconds and adds environment variables which are overridden by the test.properties for CSIT tests
Issue-ID: CPS-1195
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: Id254e3ec82fb4685fd6678d1a345b16f108b2707
Diffstat (limited to 'docker-compose')
-rw-r--r-- | docker-compose/docker-compose.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 8d3a0a3579..ca7795f2f7 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 |