From 46d3ab9f58d586fd1024f5837fcfd05a9d090e12 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 9 Jul 2023 16:41:35 +0200 Subject: test: increase timeouts All the new added tests require more time. --- test/py/lib/process.py | 2 +- test/py/test_repo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/py') diff --git a/test/py/lib/process.py b/test/py/lib/process.py index d478c32..40fb9bc 100644 --- a/test/py/lib/process.py +++ b/test/py/lib/process.py @@ -183,7 +183,7 @@ class Process(subprocess.Popen): # so that it doesn't attempt to read from closed descriptors. super().__exit__(*args) - SHUT_DOWN_TIMEOUT_SEC = 3 + SHUT_DOWN_TIMEOUT_SEC = 10 def shut_down(self): ec = self.poll() diff --git a/test/py/test_repo.py b/test/py/test_repo.py index dfd7fc4..7599eff 100644 --- a/test/py/test_repo.py +++ b/test/py/test_repo.py @@ -16,7 +16,7 @@ class LoggingEventRunComplete(LoggingEvent): self.counter = 0 self.target = target self.re = re.compile(r'run \d+ as finished') - super().__init__(timeout=60) + super().__init__(timeout=150) def log_line_matches(self, line): return bool(self.re.search(line)) -- cgit v1.2.3