summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-24 17:35:54 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-24 17:35:54 -0700
commitea50bfbc237eb2e263fdbf341dce0df0707dda5c (patch)
tree2f8aae3b6d3315abb0a01640e8bc57e4848a6aca /tests
parentde15e4c49bab1a879feab57825d8588c7af87ed5 (diff)
downloadnng-ea50bfbc237eb2e263fdbf341dce0df0707dda5c.tar.gz
nng-ea50bfbc237eb2e263fdbf341dce0df0707dda5c.tar.bz2
nng-ea50bfbc237eb2e263fdbf341dce0df0707dda5c.zip
Pipeline can wind up establishing in reverse order.
Diffstat (limited to 'tests')
-rw-r--r--tests/compat_pipeline.c3
1 files changed, 2 insertions, 1 deletions
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");