summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pjlib/src/pjlib-test/select.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pjlib/src/pjlib-test/select.c b/pjlib/src/pjlib-test/select.c
index 7f31a3e1..e30eab4a 100644
--- a/pjlib/src/pjlib-test/select.c
+++ b/pjlib/src/pjlib-test/select.c
@@ -142,6 +142,9 @@ int select_test()
status=-40; goto on_return;
}
+ // Sleep a bit. See http://trac.pjsip.org/repos/ticket/908
+ pj_thread_sleep(10);
+
// Check that socket is marked as reable.
// Note that select() may also report that sockets are writable.
status = do_select(udp1, udp2, setcount);