diff --git a/tests/test_job_scheduler.ts b/tests/test_job_scheduler.ts
index 3e94a5dcbf..1b3781ae04 100644
--- a/tests/test_job_scheduler.ts
+++ b/tests/test_job_scheduler.ts
@@ -1710,11 +1710,12 @@ describe('Job Scheduler', function () {
       });
 
       const repeatableJob = await queue.upsertJobScheduler('test', repeatOpts);
-      const delayedCount = await queue.getDelayedCount();
-      expect(delayedCount).to.be.equal(1);
 
       await repeatableJob!.promote();
 
+      const delayedCount = await queue.getDelayedCount();
+      expect(delayedCount).to.be.equal(0);
+
       this.clock.tick(177);
 
       await failing;