diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/sock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sock.c b/tests/sock.c index 002ae944..4aef1f38 100644 --- a/tests/sock.c +++ b/tests/sock.c @@ -315,6 +315,8 @@ TestMain("Socket Operations", { size_t sz; nng_socket s2; char * a = "inproc://asy"; + So(nng_setopt_ms(s1, NNG_OPT_RECONNMINT, 10) == 0); + So(nng_setopt_ms(s1, NNG_OPT_RECONNMAXT, 10) == 0); So(nng_dial(s1, a, NULL, NNG_FLAG_NONBLOCK) == 0); Convey("And connects late", { So(nng_pair_open(&s2) == 0); |
