Files
mirror-3x-ui/internal
Sanaei 5b34ae6309 fix(test): end the silent node's reset delivery with its test
The silent-node test returns after the one-second inline wait, while
its delivery goroutine keeps the node's delivery lock until the push
context times out three seconds later. The lock is keyed by node id,
and every test's fresh database starts its nodes at id 1, so under
-shuffle=on a test that ran next and expected a reset to arrive at once
waited behind that lock and failed (go-test on #6966, run 45439392969;
reproduced with -shuffle=1 on the two tests).

The stalled runtime is now released when the test ends, and the
cleanup waits for the delivery to let go of the lock.
2026-11-24 20:23:28 +03:30
..
2026-10-25 20:08:14 +01:00