未验证 提交 c70620d2 编写于 作者: O openharmony_ci 提交者: Gitee

!2115 cherry -pick主干samgr lite用例修改

Merge pull request !2115 from 余明星/cherry-pick-1646027204
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
using namespace testing::ext; using namespace testing::ext;
static const int16 TEST_LEN = 10; static const int16 TEST_LEN = 10;
static const int16 WAIT_LEN = 5;
static const char *BROADCASR_TEST_SERVICE = "S_broadcast2"; static const char *BROADCASR_TEST_SERVICE = "S_broadcast2";
static void C1Callback(Consumer *consumer, const Topic *topic, const Request *request) static void C1Callback(Consumer *consumer, const Topic *topic, const Request *request)
...@@ -107,6 +108,7 @@ protected: ...@@ -107,6 +108,7 @@ protected:
{ {
printf("[hcpptest]SetUpTestCase ! \n"); printf("[hcpptest]SetUpTestCase ! \n");
SystemInitProxy(); SystemInitProxy();
sleep(WAIT_LEN);
} }
// TearDownTestCase: Testsuit teardown, run after last testcase // TearDownTestCase: Testsuit teardown, run after last testcase
static void TearDownTestCase(void) static void TearDownTestCase(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册