提交 fa29f5ca 编写于 作者: O openharmony_ci 提交者: Gitee

!919 cherry -pick主干修改

Merge pull request !919 from 余明星/cherry-pick-1634610819
......@@ -106,7 +106,10 @@ HWTEST_F(AlarmTest, testAlarmFork, Function | MediumTest | Level2)
}
} else { // parent
Msleep(MSLEEP_TIME);
EXPECT_EQ(mReceivedSignal, SIGALRM);
if (mReceivedSignal != SIGALRM) {
Msleep(500);
}
EXPECT_EQ(mReceivedSignal, SIGALRM) << " expect no equal" << errno;
WaitProcExitedOK(pid);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册