From d620e4c3ea42b0df6eb5e8dab92d7a8f031fa617 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Thu, 5 Nov 2026 13:59:14 +0100 Subject: Take the clock off the wall --- tests/integration/harness.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/integration/harness.py') diff --git a/tests/integration/harness.py b/tests/integration/harness.py index 10aa6de..e5ec621 100644 --- a/tests/integration/harness.py +++ b/tests/integration/harness.py @@ -77,7 +77,7 @@ def free_port(attempts=50): class Tracker: """One tracker process, listening on loopback.""" - def __init__(self, extra_config="", files=None): + def __init__(self, extra_config="", files=None, extra_args=()): self.port = free_port() # Only used by a config that asks for live sync, but allocated either # way so {livesync_port} always resolves. @@ -99,7 +99,8 @@ class Tracker: # where LeakSanitizer exists and off where it does not. Asking for it # by name makes the tracker refuse to start on macOS and FreeBSD. environment = dict(os.environ, ASAN_OPTIONS="abort_on_error=0") - self.process = subprocess.Popen([TRACKER, "-f", self.config], stdout=self.log, stderr=self.log, env=environment) + argv = [TRACKER, "-f", self.config] + [str(a) for a in extra_args] + self.process = subprocess.Popen(argv, stdout=self.log, stderr=self.log, env=environment) self._wait_for_port() except BaseException: self._cleanup() -- cgit v1.3