From ffe83a612791155e0a037ccd1a4ed1cc759f6861 Mon Sep 17 00:00:00 2001 From: haixiangw Date: Thu, 20 Oct 2022 06:53:51 -0700 Subject: [PATCH] =?UTF-8?q?fixed=2009368b0=20from=20https://gitee.com/haix?= =?UTF-8?q?iangw/security=5Fcertificate=5Fmanager/pulls/42=20HiSysEventMan?= =?UTF-8?q?ager::Query=E5=90=8E=E9=9C=80=E8=A6=81=E5=8A=A0=E9=80=82?= =?UTF-8?q?=E9=87=8F=E5=BB=B6=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: haixiangw --- test/hisysevent_test/src/cm_hisysevent_test_common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/hisysevent_test/src/cm_hisysevent_test_common.cpp b/test/hisysevent_test/src/cm_hisysevent_test_common.cpp index 6961842..7f876ea 100644 --- a/test/hisysevent_test/src/cm_hisysevent_test_common.cpp +++ b/test/hisysevent_test/src/cm_hisysevent_test_common.cpp @@ -109,6 +109,7 @@ int32_t CmHiSysEventQueryResult(const string funStr) // queryCallback auto queryCallBack = std::make_shared(); if (HiSysEventManager::Query(args, queryRules, queryCallBack) == 0) { + sleep(SLEEP_TIME); // Waiting for Query end if (g_queryResult) { return CM_HISYSEVENT_QUERY_SUCCESS; } -- Gitee