diff options
| author | Garrett D'Amore <garrett@damore.org> | 2023-12-29 15:49:44 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2023-12-29 15:49:44 -0800 |
| commit | 5954332f1690e95c329b991a25b2d89b9a44ef02 (patch) | |
| tree | 6a7e679878f1a42e07591d29ae21b47869aa0595 /tests | |
| parent | 58fd88a2237438cb7931cdd6d17de6f1f3c73f2e (diff) | |
| download | nng-5954332f1690e95c329b991a25b2d89b9a44ef02.tar.gz nng-5954332f1690e95c329b991a25b2d89b9a44ef02.tar.bz2 nng-5954332f1690e95c329b991a25b2d89b9a44ef02.zip | |
Don't use deprecated functions in test suite.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/multistress.c | 2 | ||||
| -rw-r--r-- | tests/reqstress.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/multistress.c b/tests/multistress.c index 63feb666..e4fa1f2f 100644 --- a/tests/multistress.c +++ b/tests/multistress.c @@ -825,7 +825,6 @@ Main({ for (i = 0; i < ncases; i++) { nng_aio_stop(cases[i].woke); } - nng_closeall(); Test("MultiProtocol/Transport Stress", { Convey("All tests worked", { @@ -853,4 +852,5 @@ Main({ }); free(cases); + nng_fini(); }) diff --git a/tests/reqstress.c b/tests/reqstress.c index 18eac37a..89190c64 100644 --- a/tests/reqstress.c +++ b/tests/reqstress.c @@ -310,7 +310,6 @@ Main({ nng_aio_stop(cases[i].time_aio); } nng_msleep(100); - nng_closeall(); Test("Req/Rep Stress", { Convey("All tests worked", { @@ -337,4 +336,5 @@ Main({ }); free(cases); + nng_fini(); }) |
