Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.

Commit 98fb968

Browse files
stishkinstas
andauthored
Fix delay calculation (#178)
Co-authored-by: stas <statis@microsoft.com>
1 parent 408e17d commit 98fb968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/raft_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def start_test_targets(self, job_config, job_id, work_dir, job_dir, bridge_name)
243243
for service in services:
244244
d = service.get('ExpectedDurationUntilReady')
245245
if d:
246-
test_services_startup_delay = time_span_to_seconds(d)
246+
test_services_startup_delay = max(test_services_startup_delay, time_span_to_seconds(d))
247247

248248
for service in services:
249249
env = self.common_environment_variables(job_id, work_dir)

0 commit comments

Comments
 (0)