From 2e5f47aed81992a8dba4b27823894507794fc0ad Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 24 Aug 2017 16:27:53 -0700 Subject: Fix a few warnings and subtle test races. --- tests/pipeline.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/pipeline.c') 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; -- cgit v1.2.3-70-g09d2