Skip to content

VSO_0226079_mutex is sporadically failing #1472

@StephanTLavavej

Description

@StephanTLavavej

We encountered a sporadic test failure:

Assertion failed: time_execution([this] { unique_lock<Mutex> ul(mtx, 50ms); assert(!ul.owns_lock()); }) >= 50ms,
file C:\a\1\s\tests\std\tests\VSO_0226079_mutex\test.cpp, line 327

assert(time_execution([this] {
unique_lock<Mutex> ul(mtx, 50ms);
assert(!ul.owns_lock());
}) >= 50ms);

It appears that system_clock behavior may be making this test unreliable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedSomething works now, yay!testRelated to test code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions