diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-09 16:41:35 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-09 16:41:39 +0200 |
commit | 46d3ab9f58d586fd1024f5837fcfd05a9d090e12 (patch) | |
tree | 01903cea901aebdb8cf234e87b7f76d9fa5407d2 /test/py | |
parent | test: don't wait for hanging processes (diff) | |
download | cimple-46d3ab9f58d586fd1024f5837fcfd05a9d090e12.tar.gz cimple-46d3ab9f58d586fd1024f5837fcfd05a9d090e12.zip |
test: increase timeouts
All the new added tests require more time.
Diffstat (limited to 'test/py')
-rw-r--r-- | test/py/lib/process.py | 2 | ||||
-rw-r--r-- | test/py/test_repo.py | 2 |
2 files changed, 2 insertions, 2 deletions
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)) |