diff --git a/auto_tests/TCP_test.c b/auto_tests/TCP_test.c index 45309d09411..a4aec835ff2 100644 --- a/auto_tests/TCP_test.c +++ b/auto_tests/TCP_test.c @@ -525,8 +525,8 @@ static void test_client(void) ip_port_tcp_s.ip = get_loopback(); TCP_Client_Connection *conn = new_tcp_connection(logger, mem, mono_time, rng, ns, &ip_port_tcp_s, self_public_key, f_public_key, f_secret_key, nullptr); - do_tcp_connection(logger, mono_time, conn, nullptr); c_sleep(50); + do_tcp_connection(logger, mono_time, conn, nullptr); // The connection status should be unconfirmed here because we have finished // sending our data and are awaiting a response.