diff --git a/kernel_lite/futex_posix/src/PthreadMutexTest.cpp b/kernel_lite/futex_posix/src/PthreadMutexTest.cpp index 657c30d5517c3d91b87a6da1fb6573c001c36287..5299548d9641b5fecc0e316dd73d170ed4af6d2b 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);