Skip to content

Parallelizeable tests sometimes shares memory #3676

Closed
@zlepper

Description

@zlepper

Sometimes when unit tests are run in in parallel using the Parallelizable attribute, they accidently end up sharing memory. Which results in very change failures and disposed objects all over the place. See the attached project for a reproduction.

In rider the error list looks roughly like this:
rider64_kpNungXn4t
However which tests are failing, and how many a mostly random. However the amount i have there is pretty good at reproducing the problem. No problem is observed if the Parallelizeable isn't used.

service-provider-dispose-test.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions