diff options
author | Matt Clay <matt@mystile.com> | 2023-05-10 23:55:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 23:55:57 +0200 |
commit | 4c6aa70662e6f2804686a32bea611a8aa870b363 (patch) | |
tree | fbd73652de1876180d5e0c5d9213eb6bef10decf /test/lib/ansible_test/_internal/util.py | |
parent | [sanity-mypy] Ignore re-import warning (#80763) (diff) | |
download | ansible-4c6aa70662e6f2804686a32bea611a8aa870b363.tar.xz ansible-4c6aa70662e6f2804686a32bea611a8aa870b363.zip |
ansible-test - Fix timeout handling (#80764)
Diffstat (limited to 'test/lib/ansible_test/_internal/util.py')
-rw-r--r-- | test/lib/ansible_test/_internal/util.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lib/ansible_test/_internal/util.py b/test/lib/ansible_test/_internal/util.py index 029f73be22..a5a9fabaed 100644 --- a/test/lib/ansible_test/_internal/util.py +++ b/test/lib/ansible_test/_internal/util.py @@ -920,6 +920,10 @@ class ApplicationWarning(Exception): """General application warning which interrupts normal program flow.""" +class TimeoutExpiredError(SystemExit): + """Error raised when the test timeout has been reached or exceeded.""" + + class SubprocessError(ApplicationError): """Error resulting from failed subprocess execution.""" |