Files
mirror-3x-ui/internal/web
Hamed Sanaei dad258e487 test(controller): drain pending panel restart callbacks
restartPanel fires its hook about three seconds after the request, so
TestPanelRestartReportsServingAndNextListener returned with callbacks still
scheduled. Under -shuffle they landed in TestPanelRestartScopeAndDelayedHook,
which then measured a restart delay of 250 ms instead of 3 s and failed
make test-go on main (seed 1795819135484408000).

The listener test now counts its requests and waits for that many callbacks
before the next test installs its own hook. Split out of #7230.
2026-11-28 05:18:51 +03:30
..