mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 08:34:00 +00: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:
parent
217f6c438e
commit
facb512105
@ -41,7 +41,7 @@
|
|||||||
// This defines the settle time used in tests; raise this if we
|
// This defines the settle time used in tests; raise this if we
|
||||||
// get test failures on slower systems due to binds/connects not
|
// get test failures on slower systems due to binds/connects not
|
||||||
// settled. Tested to work reliably at 1 msec on a fast PC.
|
// 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
|
#undef NDEBUG
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user