diff --git a/testsuites/unittest/signal/BUILD.gn b/testsuites/unittest/signal/BUILD.gn index d157f5944d0b8268f66f64ea91f6dfcb75a5bdf1..cf3c76ddd38450ed3be85dc5c96d8a200e6cf933 100644 --- a/testsuites/unittest/signal/BUILD.gn +++ b/testsuites/unittest/signal/BUILD.gn @@ -51,7 +51,7 @@ sources_smoke = [ "smoke/mkfifo_test_002.cpp", "smoke/pipe_test_002.cpp", "smoke/pipe_test_004.cpp", - "smoke/pipe_test_005.cpp", + "smoke/signal_test_002.cpp", "smoke/signal_test_009.cpp", "smoke/signal_test_013.cpp", @@ -107,6 +107,7 @@ sources_full = [ "full/It_ipc_pipe_003.cpp", "full/pipe_test_001.cpp", "full/pipe_test_003.cpp", + "full/pipe_test_005.cpp", "full/pipe_test_006.cpp", ] diff --git a/testsuites/unittest/signal/smoke/pipe_test_005.cpp b/testsuites/unittest/signal/full/pipe_test_005.cpp similarity index 97% rename from testsuites/unittest/signal/smoke/pipe_test_005.cpp rename to testsuites/unittest/signal/full/pipe_test_005.cpp index 4d9802b544ee0469816eb4d1d2e576e0b52705c0..f17964ef00bdeb7227f0494131b25cce10d712c7 100644 --- a/testsuites/unittest/signal/smoke/pipe_test_005.cpp +++ b/testsuites/unittest/signal/full/pipe_test_005.cpp @@ -74,7 +74,7 @@ static int PipecommonWrite() exit(errno); } } - usleep(15000); // 15000, Used to calculate the delay time. + usleep(150000); // 150000, Used to calculate the delay time. } exit(0); } else { diff --git a/testsuites/unittest/signal/signal_test.cpp b/testsuites/unittest/signal/signal_test.cpp index 5fc18d45da983d0910050cf8d4619f5e4c8a8fa5..959457a5509647622bd4cdc68dc46e2bbae884db 100644 --- a/testsuites/unittest/signal/signal_test.cpp +++ b/testsuites/unittest/signal/signal_test.cpp @@ -218,17 +218,6 @@ HWTEST_F(SignalTest, ItPosixPipe002, TestSize.Level0) 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.desc: function for SignalTest @@ -638,6 +627,17 @@ HWTEST_F(SignalTest, ItPosixPipe003, TestSize.Level0) 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.desc: function for SignalTest