feat(wip): test reworks

This commit is contained in:
Toby
2023-07-26 13:48:08 -07:00
parent 55fb903192
commit dd836b4496
22 changed files with 934 additions and 185 deletions

View File

@@ -170,6 +170,6 @@ func TestUDPSessionManager(t *testing.T) {
// Leak checks
close(msgCh) // This will return error from ReceiveMessage(), should stop the session manager
time.Sleep(1 * time.Second) // Wait one more second just to be sure
assert.Equal(t, sm.Count(), 0, "session count should be 0")
assert.Zero(t, sm.Count(), "session count should be 0")
goleak.VerifyNone(t)
}