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

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

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

re #I3XXPH

Signed-off-by: vcbchang <vcbchang@qq.com>
Change-Id: I21831c9f5ef5700f3b3c8da02f945e0c37f31a6a
This commit is contained in:
vcbchang 2021-06-26 15:16:29 +08:00
parent 1e345f18b3
commit bb6abd8c6b
3 changed files with 14 additions and 13 deletions

View File

@ -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 = [
"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",
] ]

View File

@ -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 {

View File

@ -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)
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