提交 5379d53c 编写于 作者: G gao_harmony

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

Signed-off-by: Ngao_harmony <gaofeng44@huawei.com>
Change-Id: I7ee647cbcaa851536cf1849968e84902b4aee087
上级 36e0c503
......@@ -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.
先完成此消息的编辑!
想要评论请 注册