]> granicus.if.org Git - libevent/commitdiff
test: add TT_RETRIABLE for http/cancel_by_host_no_ns
authorAzat Khuzhin <a3at.mail@gmail.com>
Thu, 22 Nov 2018 21:42:46 +0000 (00:42 +0300)
committerAzat Khuzhin <azat@libevent.org>
Sat, 2 Feb 2019 12:18:05 +0000 (15:18 +0300)
Could fail from time to time in travis-ci:
  https://travis-ci.org/libevent/libevent/jobs/458554097#L1702

Follow-up-for: fe5b0719 ("Mark a lot of flacky tests with TT_RETRIABLE (for linux/win32 only)")
(cherry picked from commit 1d2ef90032bc842bc2e295ee4adce3408b6d85da)

test/regress_http.c

index 634f2912d9aa15746ace951e3e00c0fd3abbaac0..624aefc06ab553069e99bc2d7606c6fd521aa26c 100644 (file)
@@ -4705,7 +4705,7 @@ struct testcase_t http_testcases[] = {
        HTTP_N(cancel, cancel, BASIC),
        HTTP_RET_N(cancel_by_host, cancel, BY_HOST),
        HTTP_RET_N(cancel_by_host_inactive_server, cancel, BY_HOST | INACTIVE_SERVER),
-       HTTP_N(cancel_by_host_no_ns, cancel, BY_HOST | NO_NS),
+       HTTP_RET_N(cancel_by_host_no_ns, cancel, BY_HOST | NO_NS),
        HTTP_N(cancel_inactive_server, cancel, INACTIVE_SERVER),
        HTTP_N(cancel_by_host_no_ns_inactive_server, cancel, BY_HOST | NO_NS | INACTIVE_SERVER),
        HTTP_OFF_N(cancel_by_host_server_timeout, cancel, BY_HOST | INACTIVE_SERVER | SERVER_TIMEOUT),