summaryrefslogtreecommitdiff
path: root/toxcore/TCP_server.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-09-02 22:02:22 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-09-02 22:02:22 +0100
commit33edad85827a296ace58bef119a4b112ca718f8a (patch)
tree094c6d5417c333954788050d2430ef2cad42ba77 /toxcore/TCP_server.h
parenta759ddc7ebe307e7a5ced4c89de2286c5675800d (diff)
Add a short sleep before each tox_iterate in av test.
A race condition that happens on machines with heavily used network interfaces causes tests to fail. Packets sent don't arrive on time. This sleep gives it 100 extra milliseconds. The real fix would be to wait for the event to occur and then continue, but with a "once-loop" that is tox_iterate, it's not feasible at this time.
Diffstat (limited to 'toxcore/TCP_server.h')
0 files changed, 0 insertions, 0 deletions