Skip to content

Tests leave processes running and flood stdout on exit #116

@dannywillems

Description

@dannywillems

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfiled using AIIssue or PR filed with the assistance of an AI coding assistanttesting

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions