Skip to content

Test suite assumes that tests run one at a time rather than in parallel #128

@bjorn3

Description

@bjorn3

In https://github.com/FluenTech/embedded-time/blob/master/tests/timer.rs a single global static is used and manipulated from multiple tests. This is a race condition resulting in occasional spurious failure like this crater run. Using a thread local should fix this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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