Problem
When running a test, not all spawned processes are shut down on exit. The
remaining running processes keep emitting output, flooding stdout after the
test itself has finished.
To reproduce:
uv run python3 qa/rpc-tests/mempool_nu_activation.py
Before the fix, this does not kill all running processes (nodes, wallets,
indexers) when the test completes or fails. Afterwards, all processes are
stopped cleanly.
Proposed fix
Stop all spawned processes on test teardown, not only those tracked by the
framework class. This is being addressed in PR #113.
Related
Problem
When running a test, not all spawned processes are shut down on exit. The
remaining running processes keep emitting output, flooding stdout after the
test itself has finished.
To reproduce:
Before the fix, this does not kill all running processes (nodes, wallets,
indexers) when the test completes or fails. Afterwards, all processes are
stopped cleanly.
Proposed fix
Stop all spawned processes on test teardown, not only those tracked by the
framework class. This is being addressed in PR #113.
Related
dw/fix-endless-running-tests)