From c4f3981df24fb979e4890ba980d7429d5ef7b4d9 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Mon, 18 Sep 2017 16:10:24 +0200 Subject: [PATCH] possible workaround for win10 test suite hang. --- tester/offeranswer_tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tester/offeranswer_tester.c b/tester/offeranswer_tester.c index 78b612c44..15b9f61d7 100644 --- a/tester/offeranswer_tester.c +++ b/tester/offeranswer_tester.c @@ -180,12 +180,12 @@ static void profile_call_base(bool_t avpf1 }else { ms_message("Unsupported [%s] encryption type, cannot test",linphone_media_encryption_to_string(srtp2)); goto end; - } BC_ASSERT_TRUE(call(marie, pauline)); BC_ASSERT_TRUE(wait_for(marie->lc, pauline->lc, &marie->stat.number_of_LinphoneCallStreamsRunning, 1)); BC_ASSERT_TRUE(wait_for(marie->lc, pauline->lc, &pauline->stat.number_of_LinphoneCallStreamsRunning, 1)); + wait_for_until(marie->lc, pauline->lc, NULL, 0, 1000); /*wait 1 second for streams to start flowing*/ if (linphone_core_get_current_call(marie->lc)) { params = linphone_call_get_current_params(linphone_core_get_current_call(marie->lc)); BC_ASSERT_STRING_EQUAL(linphone_call_params_get_rtp_profile(params), expected_profile);