]> granicus.if.org Git - libevent/commitdiff
test/https_basic: increase timeout for complete write (fixes win32)
authorAzat Khuzhin <a3at.mail@gmail.com>
Tue, 9 Aug 2016 09:10:18 +0000 (12:10 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Tue, 9 Aug 2016 12:47:58 +0000 (15:47 +0300)
Otherwise on win32 we got 2, but test is ok, some timings issue.

Introduced-in: c968eb3
Fixes: https://ci.appveyor.com/project/azat/libevent/build/2.1.5.107/job/k70our1xdp0ym4dm#L1906
test/regress_http.c

index 178f39583725f7b63e39b2ff66784c7a841a4e5d..741edf258fa17e53875f2bfcf813ce8f2236ff97 100644 (file)
@@ -478,7 +478,7 @@ http_basic_test_impl(void *arg, int ssl)
 
        bufferevent_write(bev, http_request, strlen(http_request));
        evutil_timerclear(&tv);
-       tv.tv_usec = 10000;
+       tv.tv_usec = 100000;
        event_base_once(data->base,
            -1, EV_TIMEOUT, http_complete_write, bev, &tv);