test-send-recv: Fix occasional timeouts
authorJakub Adam <jakub.adam@collabora.com>
Tue, 5 Mar 2019 17:05:56 +0000 (18:05 +0100)
committerJakub Adam <jakub.adam@collabora.com>
Tue, 5 Mar 2019 18:51:12 +0000 (19:51 +0100)
commita02f55866c5fbc6eb738dcf26a462ef641d8b915
treee5ffe351399a4ac1eb51f8ac27f22aabd593ef24
parent926afef019ca9f297cebbe13479159ac5c087f00
test-send-recv: Fix occasional timeouts

While waiting for write thread to finish sending, keep also receiving so
that any STUN messages from the peer still get processed.
tests/test-io-stream-common.c
tests/test-io-stream-common.h
tests/test-send-recv.c