From 715288b1a07a45ccd1abcd25084f3e908c06ad1c Mon Sep 17 00:00:00 2001 From: limeng Date: Wed, 29 Sep 2021 10:33:05 +0800 Subject: [PATCH] =?UTF-8?q?fixed=205fc4c9c=20from=20https://gitee.com/ming?= =?UTF-8?q?xingyu/xts=5Facts/pulls/806=20=E5=88=9B=E5=BB=BA=E7=9A=84?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E5=A4=AA=E5=A4=9A=E4=BA=86=EF=BC=8C=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E6=94=BE=E4=B8=8D=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: limeng Change-Id: I980c41f8fe3fdda26b4d2aba98095189629f4e17 --- kernel_lite/futex_posix/src/PthreadMutexTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel_lite/futex_posix/src/PthreadMutexTest.cpp b/kernel_lite/futex_posix/src/PthreadMutexTest.cpp index 657c30d55..5299548d9 100755 --- a/kernel_lite/futex_posix/src/PthreadMutexTest.cpp +++ b/kernel_lite/futex_posix/src/PthreadMutexTest.cpp @@ -50,7 +50,7 @@ void *ThreadMutex(void *arg) HWTEST_F(FutexTest, testPthreadMutex, Function | MediumTest | Level3) { pthread_mutex_t mtx; - const int loopNum = 10; + const int loopNum = 5; pthread_t tid[loopNum]; EXPECT_EQ(pthread_mutex_init(&mtx, nullptr), 0) << "> return errno"; @@ -504,7 +504,7 @@ void *ThreadSpinlock(void *arg) HWTEST_F(FutexTest, testPthreadSpinlock, Function | MediumTest | Level3) { pthread_spinlock_t spinLock; - const int loopNum = 30; + const int loopNum = 5; pthread_t tid[loopNum]; EXPECT_EQ(pthread_spin_init(&spinLock, 0), 0); -- GitLab