From: Johan Hedberg Date: Wed, 6 Jul 2011 09:06:50 +0000 (+0300) Subject: gobex: Use zero timeout to make timeout unit tests run faster X-Git-Tag: android-x86-4.4-r3~11775 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5ea92772046541db4a671981b1050107e20ee89b;p=android-x86%2Fexternal-bluetooth-bluez.git gobex: Use zero timeout to make timeout unit tests run faster --- 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 {