From aa3bb50aeca3b7350a41f0538817c49d9656d207 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 28 Dec 2017 16:02:53 -0800 Subject: Fix compilation warnings, bugs, and crashes found on Windows. This addresses a number of problems that were found on Windows, including one bug that actually turned up in testing on POSIX. --- tests/ws.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/ws.c') diff --git a/tests/ws.c b/tests/ws.c index 71836390..aa2ba56e 100644 --- a/tests/ws.c +++ b/tests/ws.c @@ -104,6 +104,7 @@ TestMain("WebSocket Transport", { }); trantest_next_address(addr, "ws://*:%u/test"); So(nng_listen(s1, addr, NULL, 0) == 0); + nng_msleep(100); // reset port back one trantest_prev_address(addr, "ws://127.0.0.1:%u/test"); So(nng_dial(s2, addr, NULL, 0) == 0); -- cgit v1.2.3-70-g09d2