diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-01-08 18:03:47 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-09 03:32:52 +0000 |
| commit | dd13b2b6df049df622838aa3e5303ddbe1446fde (patch) | |
| tree | 07f1fe954162d2d7b236c7b9b448e11f8108b9f2 /scripts | |
| parent | 351930159f2b19f9371956e8278e00de89835357 (diff) | |
| download | meta-virtualization-dd13b2b6df049df622838aa3e5303ddbe1446fde.tar.gz | |
tests: add cleanup for orphan QEMU and stale test state
Add session-scoped autouse fixture that at session start:
1. Kills any QEMU processes holding ports used by tests (8080, 8081,
8888, etc.) - handles orphans from manual testing or crashed runs
2. Cleans up corrupt test state directories (docker-state.img with
"needs journal recovery") to ensure tests start fresh
This ensures tests don't fail due to leftover state from previous
runs or manual testing.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
