aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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