Skip to content

Possible bug in multi_threaded_vector test #1202

@alvinhochun

Description

@alvinhochun

While running the tests in my branch (which I'm pretty sure I haven't broke anything related to it), I got a failure in this test for the x86 Debug config: https://github.com/alvinhochun/cppwinrt/actions/runs/3255357951/jobs/5344593918

-------------------------------------------------------------------------------
multi_threaded_vector
-------------------------------------------------------------------------------
D:\a\cppwinrt\cppwinrt\test\test\multi_threaded_vector.cpp(455)
...............................................................................

D:\a\cppwinrt\cppwinrt\test\test\multi_threaded_vector.cpp(419): FAILED:
  CHECK( conditional_unbox<T>(t) == 1 )
with expansion:
  42 == 1

Perhaps there is a real race condition somewhere? I haven't checked it locally.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions