From facb5121056bb0720ed9c26642538fe0f4397303 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sat, 13 Feb 2016 14:33:58 +0000 Subject: [PATCH] Problem: SETTLE_TIME is too short on slow systems Solution: increase SETTLE_TIME from 50ms to 300ms to avoid failing on slower environments like through Valgrind on slow VMs. --- tests/testutil.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testutil.hpp b/tests/testutil.hpp index 0ab01bbd..e1454ceb 100644 --- a/tests/testutil.hpp +++ b/tests/testutil.hpp @@ -41,7 +41,7 @@ // This defines the settle time used in tests; raise this if we // get test failures on slower systems due to binds/connects not // settled. Tested to work reliably at 1 msec on a fast PC. -#define SETTLE_TIME 50 // In msec +#define SETTLE_TIME 300 // In msec #undef NDEBUG #include