chore: removed commented out time.sleep calls (#4770)
This commit is contained in:
1 parent
9cb2d4fa5a
commit
325949c23a
2 files changed
-5
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user