From 8c50b06b10b7e99bf3d049beefb5b909416ecd35 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 19 Sep 2017 09:29:47 +0200 Subject: [PATCH] Fix again (workaround for win10 hang) --- tester/offeranswer_tester.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tester/offeranswer_tester.c b/tester/offeranswer_tester.c index 15b9f61d7..67df90e04 100644 --- a/tester/offeranswer_tester.c +++ b/tester/offeranswer_tester.c @@ -453,6 +453,7 @@ static void compatible_avpf_features(void) { 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*/ check_avpf_features(marie->lc, pt->avpf.features); check_avpf_features(pauline->lc, pt->avpf.features); @@ -477,6 +478,7 @@ static void incompatible_avpf_features(void) { if (!call_ok) goto end; 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*/ check_avpf_features(marie->lc, PAYLOAD_TYPE_AVPF_NONE); check_avpf_features(pauline->lc, PAYLOAD_TYPE_AVPF_NONE);