From e9a1a0e20c2e7a12bd3c9f27eee6e6943adc2e90 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 26 Aug 2008 12:15:31 +0000 Subject: Added sleep() in mod_pesq.py, to wait the test until the call is stabilized git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2238 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/test-pjsua/mod_pesq.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pjsip-apps') diff --git a/pjsip-apps/src/test-pjsua/mod_pesq.py b/pjsip-apps/src/test-pjsua/mod_pesq.py index 109674ef..2e86d986 100644 --- a/pjsip-apps/src/test-pjsua/mod_pesq.py +++ b/pjsip-apps/src/test-pjsua/mod_pesq.py @@ -91,6 +91,10 @@ def test_func(t): # UA2 wait until call established ua2.expect(const.STATE_CONFIRMED) + ua1.sync_stdout() + ua2.sync_stdout() + time.sleep(2) + # Disconnect mic -> rec file, to avoid echo recorded when using sound device # Disconnect stream -> spk, make it silent # Connect stream -> rec file, start recording -- cgit v1.2.3