diff options
Diffstat (limited to 'tests/pollfd.c')
| -rw-r--r-- | tests/pollfd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/pollfd.c b/tests/pollfd.c index e5130f57..e1965b09 100644 --- a/tests/pollfd.c +++ b/tests/pollfd.c @@ -45,10 +45,8 @@ TestMain("Poll FDs", { nng_close(s2); }); So(nng_listen(s1, "inproc://yeahbaby", NULL, 0) == 0); - nng_usleep(50000); - So(nng_dial(s2, "inproc://yeahbaby", NULL, 0) == 0); - nng_usleep(50000); + nng_msleep(50); Convey("We can get a recv FD", { int fd; |
