[svn-commits] kmoore: testsuite/asterisk/trunk r3445 - /asterisk/trunk/tests/channels/SIP/s...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Aug 29 09:29:40 CDT 2012
Author: kmoore
Date: Wed Aug 29 09:29:34 2012
New Revision: 3445
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3445
Log:
Ensure the TCP attended transfer test stops Asterisk
There was a slight error at the end of the TCP attended transfer test
that prevented the testsuite from stopping Asterisk and caused
subsequent tests to fail. Asterisk is now stopped properly.
Modified:
asterisk/trunk/tests/channels/SIP/sip_attended_transfer_tcp/run-test
Modified: asterisk/trunk/tests/channels/SIP/sip_attended_transfer_tcp/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/sip_attended_transfer_tcp/run-test?view=diff&rev=3445&r1=3444&r2=3445
==============================================================================
--- asterisk/trunk/tests/channels/SIP/sip_attended_transfer_tcp/run-test (original)
+++ asterisk/trunk/tests/channels/SIP/sip_attended_transfer_tcp/run-test Wed Aug 29 09:29:34 2012
@@ -98,12 +98,13 @@
def doCleanup(self):
'''Do final cleanup, output debugging, kill off pjsua processes.'''
+ self.ami[0].hangup(self.chans[1])
self.ast[0].cli_exec("core show locks") # get lock output in case of deadlock before tearing down.
self.ast[0].cli_exec("core show channels")# if channels are still up for some reason, we want to know that as well
os.kill(self.pja.pid, signal.SIGKILL)
os.kill(self.pjb.pid, signal.SIGKILL)
os.kill(self.pjc.pid, signal.SIGKILL)
- reactor.stop()
+ self.stop_reactor()
def main():
'''Run SIP TCP attended transfer test.'''
More information about the svn-commits
mailing list