feat(wip): test reworks (need to add back traffic logger tests)

This commit is contained in:
Toby
2023-07-26 15:51:48 -07:00
parent dd836b4496
commit 6172f2ac53
7 changed files with 131 additions and 618 deletions

View File

@@ -92,8 +92,8 @@ func TestClientServerTCPClose(t *testing.T) {
_ = conn.Close()
}
// TestServerUDPIdleTimeout tests whether the server's UDP idle timeout works correctly.
func TestServerUDPIdleTimeout(t *testing.T) {
// TestClientServerUDPIdleTimeout tests whether the server's UDP idle timeout works correctly.
func TestClientServerUDPIdleTimeout(t *testing.T) {
// Create server
udpConn, udpAddr, err := serverConn()
assert.NoError(t, err)