Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 762aee38 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Fix RepeatingAlarmTest am: 1c0d4937 am: 04c0d721 am: 0a9b8e1c am: 4267d1e5 am: 364d970b

Change-Id: Ia1a82d44a9fe8404e8bc8e62986ab0d5ad98c42c
parents b5328b70 364d970b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -95,9 +95,9 @@ TEST_F(RepeatingAlarmTest, schedule) {
}

TEST_F(RepeatingAlarmTest, cancel_alarm) {
  alarm_->Schedule(should_not_happen_, std::chrono::milliseconds(1));
  alarm_->Schedule(should_not_happen_, std::chrono::milliseconds(10));
  alarm_->Cancel();
  std::this_thread::sleep_for(std::chrono::milliseconds(5));
  std::this_thread::sleep_for(std::chrono::milliseconds(50));
}

TEST_F(RepeatingAlarmTest, cancel_alarm_from_callback) {