提交 eff1a41c 编写于 作者: L limeng 提交者: 余明星

fixed ef7b5512 from https://gitee.com/mingxingyu/xts_acts/pulls/686

修改time_posix模块失败用例
Signed-off-by: Nlimeng <limeng151@huawei.com>
Change-Id: I5a128e2f2a5ac08c2ef51d4f6befa6280452dbd7
上级 dc72539a
...@@ -106,7 +106,10 @@ HWTEST_F(AlarmTest, testAlarmFork, Function | MediumTest | Level2) ...@@ -106,7 +106,10 @@ HWTEST_F(AlarmTest, testAlarmFork, Function | MediumTest | Level2)
} }
} else { // parent } else { // parent
Msleep(MSLEEP_TIME); Msleep(MSLEEP_TIME);
EXPECT_EQ(mReceivedSignal, SIGALRM); if (mReceivedSignal != SIGALRM) {
Msleep(500);
}
EXPECT_EQ(mReceivedSignal, SIGALRM) << " expect no equal" << errno;
WaitProcExitedOK(pid); WaitProcExitedOK(pid);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册