commit | 953a798388dd896628315302eec2c3554c1d01e3 | [log] [tgz] |
---|---|---|
author | Garrett D'Amore <garrett@damore.org> | Tue May 24 11:34:57 2016 -0700 |
committer | Garrett D'Amore <garrett@damore.org> | Tue May 24 11:34:57 2016 -0700 |
tree | 0f1dba9f7fba1b037ec3866d6d7d5a1a8274bc71 | |
parent | 95dad7492e6242fd7d163274d8b7ba5b280da879 [diff] |
fixes #691 `stats` test fails sometimes under heavy load
diff --git a/tests/stats.c b/tests/stats.c index 231eb2d..e5158d5 100644 --- a/tests/stats.c +++ b/tests/stats.c
@@ -38,6 +38,8 @@ /* Test req/rep with full socket types. */ rep1 = test_socket (AF_SP, NN_REP); test_bind (rep1, socket_address); + nn_sleep (100); + req1 = test_socket (AF_SP, NN_REQ); test_connect (req1, socket_address); nn_sleep (200);