[Asterisk-code-review] chanspy w mixmonitor: Disable pjsua TCP. (testsuite[master])

Corey Farrell asteriskteam at digium.com
Thu Nov 15 06:32:14 CST 2018


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/10649


Change subject: chanspy_w_mixmonitor: Disable pjsua TCP.
......................................................................

chanspy_w_mixmonitor: Disable pjsua TCP.

A recent change to pjproject caused pjsua to use TCP by default for
these tests instead of UDP. This change forces pjsua to not use TCP
for the chanspy_w_mixmonitor test.

ASTERISK~28096

Change-Id: I6f4bea785cb73a63f47fa46146204a158eeee655
---
M tests/apps/chanspy/chanspy_w_mixmonitor/run-test
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/49/10649/1

diff --git a/tests/apps/chanspy/chanspy_w_mixmonitor/run-test b/tests/apps/chanspy/chanspy_w_mixmonitor/run-test
index c70374f..39aafc7 100755
--- a/tests/apps/chanspy/chanspy_w_mixmonitor/run-test
+++ b/tests/apps/chanspy/chanspy_w_mixmonitor/run-test
@@ -118,9 +118,9 @@
     def start_processes(self):
         """Start up the PJSUA processes"""
         LOGGER.info("Starting Processes")
-        self.pja = subprocess.Popen(['pjsua', '--local-port=5065', '--auto-answer=200', '--null-audio'], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
-        self.pjb = subprocess.Popen(['pjsua', '--local-port=5066', '--auto-answer=200', '--null-audio'], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
-        self.pjc = subprocess.Popen(['pjsua', '--local-port=5067', '--auto-answer=200', '--null-audio'], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
+        self.pja = subprocess.Popen(['pjsua', '--local-port=5065', '--auto-answer=200', '--null-audio', '--no-tcp'], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
+        self.pjb = subprocess.Popen(['pjsua', '--local-port=5066', '--auto-answer=200', '--null-audio', '--no-tcp'], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
+        self.pjc = subprocess.Popen(['pjsua', '--local-port=5067', '--auto-answer=200', '--null-audio', '--no-tcp'], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
 
     def stop_processes(self):
         """Stop said processes with prejudice"""

-- 
To view, visit https://gerrit.asterisk.org/10649
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6f4bea785cb73a63f47fa46146204a158eeee655
Gerrit-Change-Number: 10649
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181115/4f4462d6/attachment.html>


More information about the asterisk-code-review mailing list