Skip to content

Race condition in tests with query with multiple test runners #2273

Description

@mfisherlevine

With several processes running (external) tests, if not os.path.exists(self.cache_location): can return True while the dir is being made, leading to a crash on the following line. Instead, use os.makedirs(self.cache_location, exist_ok=True)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions