提交 6a9c04c9 编写于 作者: G gao_harmony

【内核子系统集成测试】修改不稳定的用例:time_posix 模块AlarmTest.cpp用例AlarmTest.testTimerCreateFork 定时器资源耗尽修改。

Change-Id: I28596fee91e500a25307d608f238871ccf938459
Signed-off-by: Ngao_harmony <gaofeng44@huawei.com>
上级 bc04900e
......@@ -360,6 +360,7 @@ HWTEST_F(AlarmTest, testTimerCreateFork, Function | MediumTest | Level2)
Msleep(setMillisec + ACCURACY_ERROR);
EXPECT_EQ(mReceivedSignal, SIGALRM);
WaitProcExitedOK(pid);
EXPECT_EQ(timer_delete(tid), 0) << "ERROR: timer_delete() != 0";
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册