aboutsummaryrefslogtreecommitdiff
path: root/tests/zt.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-08-09 09:39:05 -0700
committerGarrett D'Amore <garrett@damore.org>2020-08-09 09:39:05 -0700
commit750662d4aab305d8a3d48bfa6edfc4dac4018881 (patch)
tree0787da592b45b3996aa520410e670faa2a148cde /tests/zt.c
parent5843ac4937708eb796823756a2a539edbca299c9 (diff)
downloadnng-750662d4aab305d8a3d48bfa6edfc4dac4018881.tar.gz
nng-750662d4aab305d8a3d48bfa6edfc4dac4018881.tar.bz2
nng-750662d4aab305d8a3d48bfa6edfc4dac4018881.zip
fixes #1167 zerotier needs a chkopt
Diffstat (limited to 'tests/zt.c')
-rw-r--r--tests/zt.c2
1 files changed, 1 insertions, 1 deletions
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