feat: traffic logger tests

This commit is contained in:
Toby
2023-07-26 21:30:48 -07:00
parent 7a3c23032b
commit ddc7fa8456
2 changed files with 171 additions and 1 deletions

View File

@@ -90,7 +90,6 @@ func TestClientServerTCPClose(t *testing.T) {
bs, err := io.ReadAll(conn)
assert.NoError(t, err)
assert.Equal(t, "happy", string(bs))
_ = conn.Close()
}
// TestClientServerUDPIdleTimeout tests whether the server's UDP idle timeout works correctly.