提交 bb6abd8c 编写于 作者: V vcbchang

test: 信号管道用例ItPosixPipe005由于偶现性问题暂时下线

【背景】信号管道用例ItPosixPipe005偶尔会失败,经查找,发现是CPU调度所致,延时时间与期望调度不符合,增加延时时间即可

【修改方案】修复了此问题,但是考虑pipe用例整体不稳定,并且pipe用例的pipe函数存在问题,先暂时下线,等pipe部分全部修改完毕后再上线。

re #I3XXPH
Signed-off-by: Nvcbchang <vcbchang@qq.com>
Change-Id: I21831c9f5ef5700f3b3c8da02f945e0c37f31a6a
上级 1e345f18
...@@ -51,7 +51,7 @@ sources_smoke = [ ...@@ -51,7 +51,7 @@ sources_smoke = [
"smoke/mkfifo_test_002.cpp", "smoke/mkfifo_test_002.cpp",
"smoke/pipe_test_002.cpp", "smoke/pipe_test_002.cpp",
"smoke/pipe_test_004.cpp", "smoke/pipe_test_004.cpp",
"smoke/pipe_test_005.cpp",
"smoke/signal_test_002.cpp", "smoke/signal_test_002.cpp",
"smoke/signal_test_009.cpp", "smoke/signal_test_009.cpp",
"smoke/signal_test_013.cpp", "smoke/signal_test_013.cpp",
...@@ -107,6 +107,7 @@ sources_full = [ ...@@ -107,6 +107,7 @@ sources_full = [
"full/It_ipc_pipe_003.cpp", "full/It_ipc_pipe_003.cpp",
"full/pipe_test_001.cpp", "full/pipe_test_001.cpp",
"full/pipe_test_003.cpp", "full/pipe_test_003.cpp",
"full/pipe_test_005.cpp",
"full/pipe_test_006.cpp", "full/pipe_test_006.cpp",
] ]
......
...@@ -74,7 +74,7 @@ static int PipecommonWrite() ...@@ -74,7 +74,7 @@ static int PipecommonWrite()
exit(errno); exit(errno);
} }
} }
usleep(15000); // 15000, Used to calculate the delay time. usleep(150000); // 150000, Used to calculate the delay time.
} }
exit(0); exit(0);
} else { } else {
......
...@@ -218,17 +218,6 @@ HWTEST_F(SignalTest, ItPosixPipe002, TestSize.Level0) ...@@ -218,17 +218,6 @@ HWTEST_F(SignalTest, ItPosixPipe002, TestSize.Level0)
ItPosixPipe002(); ItPosixPipe002();
} }
/* *
* @tc.name: ItPosixPipe005
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixPipe005, TestSize.Level0)
{
ItPosixPipe005();
}
/* * /* *
* @tc.name: ItPosixMkfifo002 * @tc.name: ItPosixMkfifo002
* @tc.desc: function for SignalTest * @tc.desc: function for SignalTest
...@@ -638,6 +627,17 @@ HWTEST_F(SignalTest, ItPosixPipe003, TestSize.Level0) ...@@ -638,6 +627,17 @@ HWTEST_F(SignalTest, ItPosixPipe003, TestSize.Level0)
ItPosixPipe003(); ItPosixPipe003();
} }
/* *
* @tc.name: ItPosixPipe005
* @tc.desc: function for SignalTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(SignalTest, ItPosixPipe005, TestSize.Level0)
{
ItPosixPipe005();
}
/* * /* *
* @tc.name: ItPosixPipe006 * @tc.name: ItPosixPipe006
* @tc.desc: function for SignalTest * @tc.desc: function for SignalTest
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册