diff options
Diffstat (limited to 'src/core/aio_test.c')
| -rw-r--r-- | src/core/aio_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 = { |
