diff --git a/kernel_lite/ipc_posix/shared_memory/ShmTest.cpp b/kernel_lite/ipc_posix/shared_memory/ShmTest.cpp index f389f0c72e0162bd59adde8713f3f6956fd92f6d..c959d8de12eb03d1f452bbca29cf2bb2cda8845f 100755 --- a/kernel_lite/ipc_posix/shared_memory/ShmTest.cpp +++ b/kernel_lite/ipc_posix/shared_memory/ShmTest.cpp @@ -206,7 +206,7 @@ HWTEST_F(ShmTest, testShmatSHM_REMAP, Function | MediumTest | Level1) ASSERT_NE(shared, (void*)-1) << "> parent: shmat 2 : errno = " << errno; strncpy(shared, SHM_TEST_STR, SHM_TEST_STR_LEN); ASSERT_NE(shmdt(shared), -1) << "> parent: shmdt 2 : errno = " << errno; - Msleep(20); + Msleep(50); ASSERT_NE(shmctl(shmid, IPC_RMID, nullptr), -1) << "> parent: shmctl : errno = " << errno; Msleep(50);