File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -163,10 +163,10 @@ public async Task BlockRegistry_PeriodicTimer_FlushesWithinInterval()
163163 }
164164
165165 // Wait for periodic flush (Phase 3: 500ms interval)
166- // Timer starts when BlockRegistry is created, so first tick could be anywhere from 0-500ms
167- // ✅ OPTIMIZED: Reduced from 1200ms to 600ms - one timer interval is sufficient
168- // (worst case: writes happen just after a tick, next tick at +500ms)
169- await Task . Delay ( 600 ) ;
166+ // Timer starts when BlockRegistry is created, so first tick could be anywhere from 0-500ms.
167+ // On slow CI runners (macOS), flush I/O + scheduling jitter can add significant delay,
168+ // so wait for at least 3 full intervals to eliminate flakiness.
169+ await Task . Delay ( 1600 ) ;
170170
171171 // Assert - Periodic timer should have flushed
172172 var finalMetrics = registry . GetMetrics ( ) ;
You can’t perform that action at this time.
0 commit comments