diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-08-26 12:15:31 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-08-26 12:15:31 +0000 |
commit | e9a1a0e20c2e7a12bd3c9f27eee6e6943adc2e90 (patch) | |
tree | df2a0787f60f14d8a5e6829c4f084c200ec9d21f /pjsip-apps | |
parent | 5e60d41798670121f2a73bedb1792148ad2e76ae (diff) |
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
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/test-pjsua/mod_pesq.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |