Skip to content

Fail tests that leak pipes #27

Description

@sunshowers

It is possible to write a test that ends up leaking a pipe (e.g. creates a process but doesn't terminate it). Currently, the test runner hangs on encountering such a test.

Instead, we should figure out a way to:

  • detect such a situation (a small amount of raciness between waiting on process exit and checking that the handles are closed is fine)
  • mark such a test as failure with a LEAK message or similar

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions