From: Azat Khuzhin Date: Tue, 9 Aug 2016 09:10:18 +0000 (+0300) Subject: test/https_basic: increase timeout for complete write (fixes win32) X-Git-Tag: release-2.1.6-beta~15^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5a2f2f97f6005bd0846e6b6df199b1deb95e45c;p=libevent test/https_basic: increase timeout for complete write (fixes win32) 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 --- diff --git a/test/regress_http.c b/test/regress_http.c index 178f3958..741edf25 100644 --- a/test/regress_http.c +++ b/test/regress_http.c @@ -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);