Skip to content

Test leak: test_pack_validates.py leaves ~117 MB flapi_packval_* dirs in /tmp #263

Backlog

Description

@jrosskopf

test/integration/test_pack_validates.py creates /tmp/flapi_packval_* directories (about 117 MB each, a packed binary) and never removes them. Running the suite a few dozen times filled a 24 GB tmpfs /tmp and made later tests fail with OSError: No space left on device (seen while working on #253/#254). Fix: use pytest's tmp_path or a fixture that shutil.rmtrees in a finally.

Activity

  1. added
    bug
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions