From ea50bfbc237eb2e263fdbf341dce0df0707dda5c Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 24 Aug 2017 17:35:54 -0700 Subject: Pipeline can wind up establishing in reverse order. --- tests/compat_pipeline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/compat_pipeline.c b/tests/compat_pipeline.c index 380300f6..4ed58af7 100644 --- a/tests/compat_pipeline.c +++ b/tests/compat_pipeline.c @@ -39,12 +39,13 @@ int main () test_bind (push1, SOCKET_ADDRESS); pull1 = test_socket (AF_SP, NN_PULL); test_connect (pull1, SOCKET_ADDRESS); + nn_sleep (20); pull2 = test_socket (AF_SP, NN_PULL); test_connect (pull2, SOCKET_ADDRESS); /* Wait till both connections are established to get messages spread evenly between the two pull sockets. */ - nn_sleep (10); + nn_sleep (20); test_send (push1, "ABC"); test_send (push1, "DEF"); -- cgit v1.2.3-70-g09d2