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

Commit 364d970b authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

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

Change-Id: Ida3ec6003de142b88ac63afc346d774625cc268b
parents 70632964 4267d1e5
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) {