From 400fd7bdb7f132bc351a1e2b606a1190d40234c8 Mon Sep 17 00:00:00 2001 From: yangsh_icy Date: Fri, 25 Feb 2022 17:44:51 +0800 Subject: [PATCH] modify samgr lite testcase for L1 Signed-off-by: yangsh_icy --- .../system_ability_manager_posix/src/BroadcastPublishTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distributed_schedule_lite/system_ability_manager_posix/src/BroadcastPublishTest.cpp b/distributed_schedule_lite/system_ability_manager_posix/src/BroadcastPublishTest.cpp index 69e52a8b7..431c4125b 100755 --- a/distributed_schedule_lite/system_ability_manager_posix/src/BroadcastPublishTest.cpp +++ b/distributed_schedule_lite/system_ability_manager_posix/src/BroadcastPublishTest.cpp @@ -22,6 +22,7 @@ using namespace testing::ext; static const int16 TEST_LEN = 10; +static const int16 WAIT_LEN = 5; static const char *BROADCASR_TEST_SERVICE = "S_broadcast2"; static void C1Callback(Consumer *consumer, const Topic *topic, const Request *request) @@ -107,6 +108,7 @@ protected: { printf("[hcpptest]SetUpTestCase ! \n"); SystemInitProxy(); + sleep(WAIT_LEN); } // TearDownTestCase: Testsuit teardown, run after last testcase static void TearDownTestCase(void) -- GitLab