diff --git a/services/distributeddataservice/adapter/screenlock/test/screen_lock_test.cpp b/services/distributeddataservice/adapter/screenlock/test/screen_lock_test.cpp index be5a5f5f1b1c174aa2bbd0ed270e72bb83a316a8..99a6641cccb62bc35bb0d491e178ed55fc8f56e7 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