aboutsummaryrefslogtreecommitdiff
path: root/tests/pipeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pipeline.c')
-rw-r--r--tests/pipeline.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pipeline.c b/tests/pipeline.c
index 22f636d2..a01409c4 100644
--- a/tests/pipeline.c
+++ b/tests/pipeline.c
@@ -19,6 +19,8 @@
Main({
const char *addr = "inproc://test";
+ nni_init();
+
Test("PIPELINE (PUSH/PULL) pattern", {
Convey("We can create a PUSH socket", {
nng_socket *push;
@@ -177,4 +179,6 @@ Main({
So(nng_recvmsg(pull2, &abc, 0) == NNG_ETIMEDOUT);
})
})
+
+ nni_fini();
})