Skip to content

remove 1-second join from threadexception plugin #13028

Closed

Description

@graingert
          I think it is a reasonable thing for someone to run some thread unrelated to pytest, like a monitoring thread or similar (there are many which do this), and then run `pytest.main()`. If I understand correctly, this would then cause an unnecessary 1s delay to the pytest run. Best case, they report a bug, worst case they just think pytest is slow and suffer through it.

So IMO, unless we can somehow restrict join_threads only to threads started by tests, we shouldn't do it.

Originally posted by @bluetech in #13016 (comment)

Activity

  1. changed the title [-]remove 1 second join timeout from threadexception plugin[/-] [+]remove 1-second join from threadexception plugin[/+] on Dec 5, 2024
  2. added a commit that references this issue on Dec 5, 2024
    80da427
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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions