summaryrefslogtreecommitdiff
path: root/src/mongo/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util')
-rw-r--r--src/mongo/util/periodic_runner_impl_test.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/util/periodic_runner_impl_test.cpp b/src/mongo/util/periodic_runner_impl_test.cpp
index 210871ea4db..cd2937c50e1 100644
--- a/src/mongo/util/periodic_runner_impl_test.cpp
+++ b/src/mongo/util/periodic_runner_impl_test.cpp
@@ -97,12 +97,6 @@ TEST_F(PeriodicRunnerImplTest, OneJobTest) {
runner().scheduleJob(std::move(job));
- // Ensure nothing happens until we fastForward
- {
- stdx::unique_lock<stdx::mutex> lk(mutex);
- ASSERT_EQ(count, 0);
- }
-
// Fast forward ten times, we should run all ten times.
for (int i = 0; i < 10; i++) {
clockSource().advance(interval);