diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2024-05-27 18:28:37 +0100 |
---|---|---|
committer | andrey-zelenkov <xim.andrew@gmail.com> | 2024-06-07 17:36:15 +0100 |
commit | c9dced37ba8df762e1e0776c24d32c4c76d677c1 (patch) | |
tree | 1fcda9469bff0a015c82ac9f7b96226de0f4b661 /test | |
parent | e77a0c166f3a840d214a901a48d6b5e5806d0156 (diff) | |
download | unit-c9dced37ba8df762e1e0776c24d32c4c76d677c1.tar.gz unit-c9dced37ba8df762e1e0776c24d32c4c76d677c1.tar.bz2 |
Tests: print unit.log on unsuccessful unmount
Diffstat (limited to 'test')
-rw-r--r-- | test/conftest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/conftest.py b/test/conftest.py index 2d8eabad..91c59e17 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -429,6 +429,7 @@ def _clear_temp_dir(): temporary_dir = unit_instance['temp_dir'] if is_findmnt and not waitforunmount(temporary_dir, timeout=600): + Log.print_log() sys.exit(f'Could not unmount filesystems in tmpdir ({temporary_dir}).') for item in Path(temporary_dir).iterdir(): |