From d12e169c1e733b255d146847ed57037b74681285 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 19 Dec 2020 10:21:54 -0800 Subject: fixes #1372 nni_reap could be smaller --- src/core/aio_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/aio_test.c') diff --git a/src/core/aio_test.c b/src/core/aio_test.c index acf3c129..01024af6 100644 --- a/src/core/aio_test.c +++ b/src/core/aio_test.c @@ -236,10 +236,10 @@ aio_sleep_cb(void *arg) void test_aio_reap(void) { - nng_aio *a; + static nng_aio *a; NUTS_PASS(nng_aio_alloc(&a, aio_sleep_cb, &a)); nng_sleep_aio(10, a); - nng_msleep(20); + nng_msleep(100); } NUTS_TESTS = { -- cgit v1.2.3-70-g09d2