Skip to content

Flaky test due to process creation #1213

@2e0byo

Description

@2e0byo

On my system at least test_tools fails on test_processCmdline.

Adding a breakpoint just before the assertion causes the problem to go away, as does adding a sleep(0.1) to createProcess before returning the pid. Moving the call to tools.processCmdline before the breakpoint shows it returns an empty string unless a short delay is introduced.

I'm not sure if this problem is widespread enough to be important, but I'll add a trivial PR anyway.

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