2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Create pytest how to for BIND system tests

Petr Špaček
2025-07-08 14:50:13 +00:00
parent dfd995accf
commit 9ea245a926

10
pytest-howto.md Normal file

@@ -0,0 +1,10 @@
---
title: pytest how-to for BIND system tests
---
See [[/bin/tests/system/README|/../blob/main/bin/tests/system/README.md]] first
# Debugging
- See "Test Artifacts" chapter in README first, for real!
- If test hangs on startup or exits one minute after start - most probably servers did not start. That's typically a config error.
- `pytest --log-level DEBUG` should show which server does not respond to TCP queries
- See also `pytest.log.txt` in directory with artifacts.