From 45f2395f5c65b46e8abc077d601e554d6109b596 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Thu, 6 Aug 2020 11:42:08 -0400 Subject: [PATCH] test: give hrtime test a custom 20s timeout The test is supposed to complete in about 3.5s but it can hit the 10s timeout when run on a system with high load. Fixes: https://github.com/libuv/libuv/issues/2342 (hopefully?) Refs: https://github.com/libuv/libuv/pull/2345 PR-URL: https://github.com/libuv/libuv/pull/2944 Reviewed-By: Ben Noordhuis Reviewed-By: Santiago Gimeno Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau --- test/test-list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-list.h b/test/test-list.h index ab27e6840..c3a7ef447 100644 --- a/test/test-list.h +++ b/test/test-list.h @@ -857,7 +857,7 @@ TASK_LIST_START TEST_ENTRY (tmpdir) - TEST_ENTRY_CUSTOM (hrtime, 0, 0, 10000) + TEST_ENTRY_CUSTOM (hrtime, 0, 0, 20000) TEST_ENTRY_CUSTOM (getaddrinfo_fail, 0, 0, 10000) TEST_ENTRY_CUSTOM (getaddrinfo_fail_sync, 0, 0, 10000)