From 5ea92772046541db4a671981b1050107e20ee89b Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 6 Jul 2011 12:06:50 +0300 Subject: [PATCH] gobex: Use zero timeout to make timeout unit tests run faster --- unit/test-gobex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit/test-gobex.c b/unit/test-gobex.c index 22c66654b..c910c50ae 100644 --- a/unit/test-gobex.c +++ b/unit/test-gobex.c @@ -272,12 +272,12 @@ static void test_send_nval_connect_req_short_pkt(void) static void test_send_connect_req_timeout_stream(void) { - send_connect(timeout_rsp, send_nothing, 1, SOCK_STREAM); + send_connect(timeout_rsp, send_nothing, 0, SOCK_STREAM); } static void test_send_connect_req_timeout_pkt(void) { - send_connect(timeout_rsp, send_nothing, 1, SOCK_SEQPACKET); + send_connect(timeout_rsp, send_nothing, 0, SOCK_SEQPACKET); } struct req_info { -- 2.47.3