mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Detect core dumps after BIND failed to stop cleanly
With the pytest runner, when BIND crashed during test runtime, the get_core_dumps.sh script hasn't been run, and core dumps were not detected.
This commit is contained in:
parent
dd3c7e4ecb
commit
89c77daddb
1 changed files with 1 additions and 0 deletions
|
|
@ -581,6 +581,7 @@ else:
|
|||
perl("stop.pl", [system_test_dir.name])
|
||||
except subprocess.CalledProcessError as exc:
|
||||
mlogger.error("Failed to stop servers")
|
||||
get_core_dumps()
|
||||
pytest.fail(f"stop.pl exited with {exc.returncode}")
|
||||
|
||||
def get_core_dumps():
|
||||
|
|
|
|||
Loading…
Reference in a new issue