Skip to content

harden _pytest.tmpdir.ensure_deletable #4245

@RonnyPfannschmidt

Description

@RonnyPfannschmidt

followup to #4222
ensure_deletable has a potential race condition when 2 processes have a certain timing
my initial assessment is that its far more unlikely than the create vs delete match but given large enough test sets we are probably bound to see it, its unclear how to test for it

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: tmpdirrelated to the tmpdir builtin plugintype: infrastructureimprovement to development/releases/CI structure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions