[libc++] Add ALLOW_RETRIES to a few flaky tests
authorNikolas Klauser <nikolasklauser@berlin.de>
Tue, 17 Jan 2023 02:54:32 +0000 (03:54 +0100)
committerNikolas Klauser <nikolasklauser@berlin.de>
Tue, 17 Jan 2023 23:10:16 +0000 (00:10 +0100)
Fixes #59464

Reviewed By: ldionne, Mordante, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D141885

libcxx/test/std/thread/futures/futures.async/async.pass.cpp
libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp
libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_for.pass.cpp

index 4e328db..b40fedf 100644 (file)
@@ -9,6 +9,8 @@
 // UNSUPPORTED: no-threads
 // UNSUPPORTED: c++03
 
+// ALLOW_RETRIES: 3
+
 // <future>
 
 // template <class F, class... Args>
index 7e3b2d3..a49a438 100644 (file)
@@ -8,6 +8,8 @@
 //
 // UNSUPPORTED: no-threads
 
+// ALLOW_RETRIES: 3
+
 // notify_all_at_thread_exit(...) requires move semantics to transfer the unique_lock.
 // UNSUPPORTED: c++03