From 165e4958c399a333a1bbc62b78ff5d99faeefaac Mon Sep 17 00:00:00 2001 From: yangliu Date: Mon, 19 May 2025 09:33:43 +0800 Subject: [PATCH] fix ut Signed-off-by: yangliu --- .../adapter/screenlock/test/screen_lock_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/distributeddataservice/adapter/screenlock/test/screen_lock_test.cpp b/services/distributeddataservice/adapter/screenlock/test/screen_lock_test.cpp index be5a5f5f1..99a6641cc 100644 --- a/services/distributeddataservice/adapter/screenlock/test/screen_lock_test.cpp +++ b/services/distributeddataservice/adapter/screenlock/test/screen_lock_test.cpp @@ -127,5 +127,6 @@ HWTEST_F(ScreenLockTest, SubscribeScreenEvent001, TestSize.Level0) EXPECT_NE(screenLock->eventSubscriber_, nullptr); screenLock->ScreenManager::UnsubscribeScreenEvent(); screenLock->UnsubscribeScreenEvent(); + sleep(2); } } // namespace \ No newline at end of file -- Gitee