Skip to content

test(stl): isolate ThreadLocal key-exhaustion test in its own process (follow-up #5310) #5323

Closed

Description

@zackees

Follow-up of #5310 / PR #5316. The new ThreadLocal key-exhaustion test in tests/fl/stl/thread_local.cpp briefly uses up every pthread key in the process. If any other code creates its first ThreadLocal during that window, it silently gets the shared fallback slot for the rest of the run.

To do: run that test in its own process, or otherwise isolate it, so it can't affect other tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    sanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions