Merge pull request #1495 from brian-peloton/fix-test-flakiness

Increase sleep in test to fix flakiness under CPU load.
This commit is contained in:
Pieter Hintjens
2015-07-28 22:57:46 +02:00

View File

@@ -110,7 +110,7 @@ void worker1(void* s)
if (c == 0)
{
msleep(10);
msleep(100);
rc = zmq_send_const(s,&worker_id, 1, 0);
assert(rc == 1);
}
@@ -136,7 +136,7 @@ void worker2(void* s)
if (c == 0)
{
msleep(10);
msleep(100);
rc = zmq_send_const(s,&worker_id, 1, 0);
assert(rc == 1);
}