0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01:04 +08:00

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.
This commit is contained in:
Luca Boccassi 2016-02-13 14:33:58 +00:00
parent 217f6c438e
commit facb512105

View File

@ -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 <time.h>