Skip to content

test.support.wait_process ignores timeout argument #90837

Description

@notarealdeveloper
BPO 46679
Nosy @sobolevn, @notarealdeveloper
PRs
  • bpo-46679: Don't ignore timeout argument in test.support.wait_process. #31205
  • bpo-46711: increase timeout for test_logging::test_post_fork_child_no_deadlock #31274
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2022-02-07.21:22:25.756>
    labels = ['type-bug', 'tests', '3.10', '3.11']
    title = 'test.support.wait_process ignores timeout argument'
    updated_at = <Date 2022-02-14.16:54:52.679>
    user = 'https://github.com/notarealdeveloper'

    bugs.python.org fields:

    activity = <Date 2022-02-14.16:54:52.679>
    actor = 'sobolevn'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2022-02-07.21:22:25.756>
    creator = 'notarealdeveloper'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46679
    keywords = ['patch']
    message_count = 1.0
    messages = ['412793']
    nosy_count = 2.0
    nosy_names = ['sobolevn', 'notarealdeveloper']
    pr_nums = ['31205', '31274']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46679'
    versions = ['Python 3.10', 'Python 3.11']

    Activity

    1. notarealdeveloper commented on Feb 7, 2022

      notarealdevelopermannequin
      MannequinAuthor

      The function wait_process in Lib/test/support/init.py ignores its timeout argument. This argument is useful, for example, in tests that need to determine whether a deadlock has been fixed (e.g., in PR-30310). Will submit a pull request to fix this.

    2. added
      3.11only security fixes
      testsTests in the Lib/test dir
      type-bugAn unexpected behavior, bug, or error
      on Feb 7, 2022
    3. transferred this issue fromon Apr 10, 2022
    4. StanFromIreland commented on Aug 22, 2025

      @StanFromIreland
      Member

      Completed, see discussion in #31205 for more information.

    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

      3.10 (EOL)end of life3.11only security fixestestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions