mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-28 05:24:47 +03:00
dad258e487
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.