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

Commit a3d06fb3 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov
Browse files

Fixed test_periodic_unregister_processing_queue unit test

Removed a copy-and-paste check in the
test_periodic_unregister_processing_queue unit test.
The removed check adds little value - it has time-dependency,
and is not robust.

Bug: 26982349
Change-Id: I4adb948713b9946b5eb821d6fe52b7ada1400182
parent f7d04c6f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -415,7 +415,6 @@ TEST_F(AlarmTest, test_periodic_unregister_processing_queue) {
  for (int i = 0; i < 5; i++) {
    alarm_set_on_queue(alarms[i], 20 + i, cb, INT_TO_PTR(i), queue);
  }
  EXPECT_EQ(cb_counter, 0);
  EXPECT_TRUE(WakeLockHeld());

  for (int i = 1; i <= 20; i++) {