feat update test
Some checks failed
ci/push/linux-aarch64-gcc/1 Pipeline was successful
ci/push/linux-aarch64-gcc/2 Pipeline was successful
ci/push/linux-x64-gcc/1 Pipeline was successful
ci/push/linux-x64-gcc/2 Pipeline was successful
ci/pr/linux-aarch64-gcc/2 Pipeline was successful
ci/pr/linux-x64-gcc/1 Pipeline was successful
ci/pr/linux-x64-gcc/2 Pipeline was successful
ci/pr/linux-aarch64-gcc/1 Pipeline failed

This commit is contained in:
tqcq 2024-08-11 12:12:56 +08:00
parent 5c3de3e1bc
commit 9830a33ea9
2 changed files with 2 additions and 3 deletions

View File

@ -101,7 +101,6 @@ TEST_F(CondVarTest, NotifyOne_WaitFor) {
SetWorker(new std::thread(WaitFor));
WaitStarted();
std::this_thread::sleep_for(kWaitTimeout / 2);
ASSERT_FALSE(is_set);
{

View File

@ -249,8 +249,8 @@ TEST(ScopedLock, TryLock) {
}
TEST(ScopedLock, MultiThread) {
constexpr std::size_t kThreadCount = 4;
constexpr std::size_t kLoopCount = 1000;
constexpr std::size_t kThreadCount = 5;
constexpr std::size_t kLoopCount = 10000;
int x = 0;
Mutex m;