diff --git a/index-scheduler/src/lib.rs b/index-scheduler/src/lib.rs index c9ea70bb8..5293c7140 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -612,7 +612,7 @@ impl IndexScheduler { #[cfg(test)] run.breakpoint(Breakpoint::Init); - run.wake_up.wait(); + run.wake_up.wait_timeout(std::time::Duration::from_secs(60)); loop { match run.tick() {