diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-12-19 10:21:54 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-12-19 12:50:05 -0800 |
| commit | d12e169c1e733b255d146847ed57037b74681285 (patch) | |
| tree | e4a59142a6cf097dfdda8620635f173f53db9e7a /src/core/aio_test.c | |
| parent | 2033988343bce413763d3e9664e3e8372da48591 (diff) | |
| download | nng-d12e169c1e733b255d146847ed57037b74681285.tar.gz nng-d12e169c1e733b255d146847ed57037b74681285.tar.bz2 nng-d12e169c1e733b255d146847ed57037b74681285.zip | |
fixes #1372 nni_reap could be smaller
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 = { |
