aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/survey.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/survey.c b/tests/survey.c
index 138b61e0..58de5986 100644
--- a/tests/survey.c
+++ b/tests/survey.c
@@ -117,6 +117,9 @@ Main({
So(nng_recvmsg(surv, &msg, 0) == NNG_ETIMEDOUT);
Convey("And goes to non-survey state", {
+ printf("WAITING HERE");
+ rtimeo = 50000;
+ So(nng_setopt(surv, NNG_OPT_RCVTIMEO, &rtimeo, sizeof (rtimeo)) == 0);
rv = nng_recvmsg(surv, &msg, 0);
So(rv== NNG_ESTATE);
})