diff options
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r-- | auto_tests/toxav_many_test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c index cd9d514c..24d2ae6e 100644 --- a/auto_tests/toxav_many_test.c +++ b/auto_tests/toxav_many_test.c | |||
@@ -147,8 +147,9 @@ void *call_thread(void *pd) | |||
147 | } | 147 | } |
148 | } | 148 | } |
149 | 149 | ||
150 | while (!BobCC->incoming) | 150 | while (!BobCC->incoming) { |
151 | c_sleep(10); | 151 | c_sleep(10); |
152 | } | ||
152 | 153 | ||
153 | { /* Answer */ | 154 | { /* Answer */ |
154 | TOXAV_ERR_ANSWER rc; | 155 | TOXAV_ERR_ANSWER rc; |
@@ -267,8 +268,9 @@ START_TEST(test_AV_three_calls) | |||
267 | tox_friend_get_connection_status(Alice, 2, NULL) == TOX_CONNECTION_UDP && | 268 | tox_friend_get_connection_status(Alice, 2, NULL) == TOX_CONNECTION_UDP && |
268 | tox_friend_get_connection_status(Bobs[0], 0, NULL) == TOX_CONNECTION_UDP && | 269 | tox_friend_get_connection_status(Bobs[0], 0, NULL) == TOX_CONNECTION_UDP && |
269 | tox_friend_get_connection_status(Bobs[1], 0, NULL) == TOX_CONNECTION_UDP && | 270 | tox_friend_get_connection_status(Bobs[1], 0, NULL) == TOX_CONNECTION_UDP && |
270 | tox_friend_get_connection_status(Bobs[2], 0, NULL) == TOX_CONNECTION_UDP) | 271 | tox_friend_get_connection_status(Bobs[2], 0, NULL) == TOX_CONNECTION_UDP) { |
271 | break; | 272 | break; |
273 | } | ||
272 | 274 | ||
273 | c_sleep(20); | 275 | c_sleep(20); |
274 | } | 276 | } |