From 472a802cfd51ace744fcc73160326e94a891234d Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 9 Jan 2017 17:23:44 -0800 Subject: (Briefly) debug output for hang in survey test. --- tests/survey.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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); }) -- cgit v1.2.3-70-g09d2