From 750662d4aab305d8a3d48bfa6edfc4dac4018881 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 9 Aug 2020 09:39:05 -0700 Subject: fixes #1167 zerotier needs a chkopt --- tests/zt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/zt.c b/tests/zt.c index 714317b4..186586c2 100644 --- a/tests/zt.c +++ b/tests/zt.c @@ -92,7 +92,7 @@ check_props(nng_msg *msg) nng_duration t = 0; So(nng_pipe_getopt_int(p, NNG_OPT_ZT_PING_TRIES, &c) == 0); - So(c > 0 && c < 10); // actually 5... + So(c > 0 && c <= 10); So(nng_pipe_getopt_ms(p, NNG_OPT_ZT_PING_TIME, &t) == 0); So(t > 1000 && t < 3600000); // 1 sec - 1 hour -- cgit v1.2.3-70-g09d2