diff --git a/internal/tests/cluster/x509_verification_test.go b/internal/tests/cluster/x509_verification_test.go index 655bf80dc..d1fff1446 100644 --- a/internal/tests/cluster/x509_verification_test.go +++ b/internal/tests/cluster/x509_verification_test.go @@ -156,7 +156,6 @@ func TestCustomX509Verification_Client(t *testing.T) { // hijacked, just setting for completeness transport.IdleConnTimeout = 0 transport.DialContext = func(ctx context.Context, network, addr string) (net.Conn, error) { - // time.Sleep(1000 * time.Second) dialer := &tls.Dialer{Config: tlsConf} return dialer.DialContext(ctx, network, addr) } @@ -261,7 +260,6 @@ func testCustomX509Verification_Server(ec event.TestConfig, certPool *x509.CertP // hijacked, just setting for completeness transport.IdleConnTimeout = 0 transport.DialContext = func(ctx context.Context, network, addr string) (net.Conn, error) { - // time.Sleep(1000 * time.Second) dialer := &tls.Dialer{Config: tlsConf} return dialer.DialContext(ctx, network, addr) } diff --git a/internal/tests/helper/testing_helper.go b/internal/tests/helper/testing_helper.go index a5066cb8d..3ff17cd8f 100644 --- a/internal/tests/helper/testing_helper.go +++ b/internal/tests/helper/testing_helper.go @@ -336,9 +336,6 @@ func (c *TestSessionConnection) testSendRecv(t *testing.T) bool { } require.Equal(j, i) - - // Sleep 1s - // time.Sleep(time.Second) } t.Log("finished send/recv successfully", "num_successfully_sent", testSendRecvSendMax)