From 41421f59912c9b798c12869a350769b425b249b4 Mon Sep 17 00:00:00 2001 From: gao_harmony Date: Thu, 10 Jun 2021 10:26:25 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=86=85=E6=A0=B8=E5=AD=90=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E9=9B=86=E6=88=90=E6=B5=8B=E8=AF=95=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=8D=E7=A8=B3=E5=AE=9A=E7=94=A8=E4=BE=8B=EF=BC=9A?= =?UTF-8?q?shared=5Fmemory=20=E6=A8=A1=E5=9D=97ShmTest.cpp=E7=94=A8?= =?UTF-8?q?=E4=BE=8BShmTest.testShmatSHM=5FREMAP=20=E6=9C=AA=E6=8C=89?= =?UTF-8?q?=E7=85=A7=E9=A2=84=E6=83=B3=E9=80=BB=E8=BE=91=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gao_harmony Change-Id: Ia28996feb196370c8fefeccf309ccc10bf2c4083 --- kernel_lite/ipc_posix/shared_memory/ShmTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel_lite/ipc_posix/shared_memory/ShmTest.cpp b/kernel_lite/ipc_posix/shared_memory/ShmTest.cpp index f389f0c72..c959d8de1 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); -- GitLab