Skip to content

test: integration suite leaks _default networks (no teardown) #596

Description

@Jaro-c

After running the integration suite locally, the host is left with a large pile of orphaned _default networks:

$ podman network ls --filter label=podup.project | wc -l
~230   # t<id>-<name>_default from past test runs

The test teardown removes the project's containers but not the networks it created, so every run leaks one or more *_default networks. Over many runs these accumulate (a single podman network prune cleared ~230 here).

The integration harness should remove the networks it creates on teardown (or down should, and the tests should call it), so repeated local runs don't pollute the host. Not a runtime bug in podup itself, but it bites anyone running the suite on their machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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