aboutsummaryrefslogtreecommitdiff
path: root/tests/pipeline.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-24 16:27:53 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-24 16:27:53 -0700
commit2e5f47aed81992a8dba4b27823894507794fc0ad (patch)
tree2383f0139d6931efbbc20ac63be6dfbc1f6e1279 /tests/pipeline.c
parentc9a68bfe6bea2acc708bf49045f6cb65017a3306 (diff)
downloadnng-2e5f47aed81992a8dba4b27823894507794fc0ad.tar.gz
nng-2e5f47aed81992a8dba4b27823894507794fc0ad.tar.bz2
nng-2e5f47aed81992a8dba4b27823894507794fc0ad.zip
Fix a few warnings and subtle test races.
Diffstat (limited to 'tests/pipeline.c')
-rw-r--r--tests/pipeline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pipeline.c b/tests/pipeline.c
index 78002fc6..618b7227 100644
--- a/tests/pipeline.c
+++ b/tests/pipeline.c
@@ -79,6 +79,8 @@ TestMain("PIPELINE (PUSH/PULL) pattern", {
So(nng_dial(what, addr, NULL, 0) == 0);
So(nng_shutdown(what) == 0);
+ nng_usleep(20000);
+
Convey("Push can send messages, and pull can recv", {
nng_msg *msg;