From 5fd480678c230b9bf57298d4a9d761c5d2dbd0c7 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 21 Jun 2019 11:32:01 +0200 Subject: [PATCH] test: give hrtime test a custom 10s timeout The test is supposed to complete in about 3.5s but it can hit the 5s timeout when run on a system with high load. Fixes: https://github.com/libuv/libuv/issues/2342 PR-URL: https://github.com/libuv/libuv/pull/2345 Reviewed-By: Colin Ihrig --- 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 5c1a1c99..a48f6f38 100644 --- a/test/test-list.h +++ b/test/test-list.h @@ -779,7 +779,7 @@ TASK_LIST_START TEST_ENTRY (tmpdir) - TEST_ENTRY (hrtime) + TEST_ENTRY_CUSTOM (hrtime, 0, 0, 10000) TEST_ENTRY_CUSTOM (getaddrinfo_fail, 0, 0, 10000) TEST_ENTRY_CUSTOM (getaddrinfo_fail_sync, 0, 0, 10000)