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
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:
parent
5c3de3e1bc
commit
9830a33ea9
@ -101,7 +101,6 @@ TEST_F(CondVarTest, NotifyOne_WaitFor) {
|
|||||||
|
|
||||||
SetWorker(new std::thread(WaitFor));
|
SetWorker(new std::thread(WaitFor));
|
||||||
WaitStarted();
|
WaitStarted();
|
||||||
std::this_thread::sleep_for(kWaitTimeout / 2);
|
|
||||||
ASSERT_FALSE(is_set);
|
ASSERT_FALSE(is_set);
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -249,8 +249,8 @@ TEST(ScopedLock, TryLock) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST(ScopedLock, MultiThread) {
|
TEST(ScopedLock, MultiThread) {
|
||||||
constexpr std::size_t kThreadCount = 4;
|
constexpr std::size_t kThreadCount = 5;
|
||||||
constexpr std::size_t kLoopCount = 1000;
|
constexpr std::size_t kLoopCount = 10000;
|
||||||
|
|
||||||
int x = 0;
|
int x = 0;
|
||||||
Mutex m;
|
Mutex m;
|
||||||
|
Loading…
Reference in New Issue
Block a user