summaryrefslogtreecommitdiff
path: root/tests/pjsua/scripts-sipp
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2015-04-13 12:28:02 +0000
committerNanang Izzuddin <nanang@teluu.com>2015-04-13 12:28:02 +0000
commita37a581a5e1f22027081f41891f2bf9ca88d5998 (patch)
treedc9d574cb1ff016cbf418033cde9d7878fb05f41 /tests/pjsua/scripts-sipp
parent3315769a569fd61f099a38094dde1cd3347a8963 (diff)
Re #1842:
- Updated python test driver run.py to perform stdout polling using a dedicated thread, this will increase the robustness of pattern matcing class "Expect" and remove the possibility of stucked pjsua (due to output buffer full when no stdout read polling is done). - Also updated other test driver and scenario accordingly. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5067 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/scripts-sipp')
-rw-r--r--tests/pjsua/scripts-sipp/uas-reinv-with-less-media.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/pjsua/scripts-sipp/uas-reinv-with-less-media.py b/tests/pjsua/scripts-sipp/uas-reinv-with-less-media.py
index 42b2b881..83ba3997 100644
--- a/tests/pjsua/scripts-sipp/uas-reinv-with-less-media.py
+++ b/tests/pjsua/scripts-sipp/uas-reinv-with-less-media.py
@@ -5,4 +5,6 @@ import inc_const as const
PJSUA = ["--null-audio --extra-audio --max-calls=1 $SIPP_URI"]
# Send hold after remote holds (double hold)
-PJSUA_EXPECTS = [[0, const.MEDIA_HOLD, "H"]]
+PJSUA_EXPECTS = [[0, const.MEDIA_HOLD, ""],
+ [0, "ACK sip:", "H"]
+ ]