[all-commits] [llvm/llvm-project] ac88ad: [libc++] Refactor tests for std::condition_variabl...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Thu May 23 07:33:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ac88ad3c805f0cc0ea85975d52b2037940b2d040
https://github.com/llvm/llvm-project/commit/ac88ad3c805f0cc0ea85975d52b2037940b2d040
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-05-23 (Thu, 23 May 2024)
Changed paths:
M libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for_pred.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_pred.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_until.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_for.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_for_pred.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_pred.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_until.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_until_pred.pass.cpp
Log Message:
-----------
[libc++] Refactor tests for std::condition_variable (#91530)
These tests have always been flaky, which led us to using ALLOW_RETRIES
on them. However, while investigating #89083 (using Github provided
macOS builders), these tests surfaced as being basically unworkably
flaky in that environment.
This patch solves that problem by refactoring the tests to make them
succeed deterministically.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list