Skip to content

Commit

Permalink
Don't use deprecated functions in test suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 29, 2023
1 parent 58fd88a commit 5954332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/multistress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down Expand Up @@ -853,4 +852,5 @@ Main({
});

free(cases);
nng_fini();
})
2 changes: 1 addition & 1 deletion tests/reqstress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand All @@ -337,4 +336,5 @@ Main({
});

free(cases);
nng_fini();
})

0 comments on commit 5954332

Please sign in to comment.