aboutsummaryrefslogtreecommitdiff
path: root/tests/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/udp.c')
-rw-r--r--tests/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/udp.c b/tests/udp.c
index e343bbab..639d8da8 100644
--- a/tests/udp.c
+++ b/tests/udp.c
@@ -162,7 +162,7 @@ TestMain("UDP support", {
nni_plat_udp_send(u1, aio2);
// This delay here is required to test for a race
// condition that does not occur if it is absent.
- nng_usleep(200);
+ nng_msleep(1);
nni_plat_udp_send(u1, aio1);
nni_aio_wait(aio2);