Commit f86bded7 authored by Brian Silverman's avatar Brian Silverman

Increase sleep in test to fix flakiness under CPU load.

parent 7b2e37dc
...@@ -110,7 +110,7 @@ void worker1(void* s) ...@@ -110,7 +110,7 @@ void worker1(void* s)
if (c == 0) if (c == 0)
{ {
msleep(10); msleep(100);
rc = zmq_send_const(s,&worker_id, 1, 0); rc = zmq_send_const(s,&worker_id, 1, 0);
assert(rc == 1); assert(rc == 1);
} }
...@@ -136,7 +136,7 @@ void worker2(void* s) ...@@ -136,7 +136,7 @@ void worker2(void* s)
if (c == 0) if (c == 0)
{ {
msleep(10); msleep(100);
rc = zmq_send_const(s,&worker_id, 1, 0); rc = zmq_send_const(s,&worker_id, 1, 0);
assert(rc == 1); assert(rc == 1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment