diff --git a/kernel_lite/process_posix/src/ProcessTest.cpp b/kernel_lite/process_posix/src/ProcessTest.cpp index 737f6ee41a928aa28be202bdd03ca033658b5845..c08fb7a22db5423763b9fdf6cfe2a6af1a39188c 100755 --- a/kernel_lite/process_posix/src/ProcessTest.cpp +++ b/kernel_lite/process_posix/src/ProcessTest.cpp @@ -327,7 +327,7 @@ HWTEST_F(ProcessTest, testAssertTrue, Function | MediumTest | Level3) exit(0); } Msleep(50); - AssertProcExitedOK(pid); + WaitProcExitedOK(pid); } int FunctionAssertFalse(void)