test(channelserver): reduce polling interval from 10ms to 1ms

LoopDelay is 0 in test servers (bare struct, no Viper defaults), so
sendLoop spins without delay and satisfies conditions in <1ms. The
10ms poll interval was the new bottleneck — dropping to 1ms cuts the
channelserver test suite from ~136s to ~5s.
This commit is contained in:
Houmgaor
2026-03-23 11:06:50 +01:00
parent d0efc4e81a
commit e1aa863a1f
3 changed files with 24 additions and 24 deletions

View File

@@ -291,7 +291,7 @@ func TestBroadcastMHFAllSessions(t *testing.T) {
if receivedCount == sessionCount {
break
}
time.Sleep(10 * time.Millisecond)
time.Sleep(1 * time.Millisecond)
}
// Stop all sessions