Skip to content

Commit 9be7562

Browse files
better test
1 parent ae44419 commit 9be7562

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

util/timer_test.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,6 @@ TEST_F(TimerTest, ConcurrentStartShutdown) {
410410
for (size_t iter = 0; iter < kNumberOfIterations; ++iter) {
411411
timer.Start();
412412
std::this_thread::sleep_for(std::chrono::microseconds(10));
413-
timer.HasPendingTask();
414-
std::this_thread::sleep_for(std::chrono::microseconds(10));
415-
timer.CancelAll();
416-
std::this_thread::sleep_for(std::chrono::microseconds(10));
417413
timer.Shutdown();
418414
}
419415
};

0 commit comments

Comments
 (0)