[asterisk-commits] pabelanger: testsuite/asterisk/trunk r931 - /asterisk/trunk/tests/iax2/basic-...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Nov 23 17:11:00 CST 2010
Author: pabelanger
Date: Tue Nov 23 17:10:56 2010
New Revision: 931
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=931
Log:
Only start reactor after Asterisk has fully booted.
FYI: This issue was discovered by our remote bamboo agent under FreeBSD.
Modified:
asterisk/trunk/tests/iax2/basic-call/run-test
Modified: asterisk/trunk/tests/iax2/basic-call/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/iax2/basic-call/run-test?view=diff&rev=931&r1=930&r2=931
==============================================================================
--- asterisk/trunk/tests/iax2/basic-call/run-test (original)
+++ asterisk/trunk/tests/iax2/basic-call/run-test Tue Nov 23 17:10:56 2010
@@ -29,7 +29,6 @@
self.f = fastagi.FastAGIFactory(self.fastagi_func)
reactor.listenTCP(4573, self.f, 50, '127.0.0.1')
reactor.callWhenRunning(self.run)
- reactor.callLater(20, self.stop_reactor)
parser = OptionParser()
parser.add_option("-v", "--version", dest="ast_version",
@@ -85,6 +84,8 @@
def run(self):
self.start_asterisk()
+ reactor.callLater(20, self.stop_reactor)
+
if self.ast_version < AsteriskVersion("1.6.0"):
self.asterisk.cli_exec("iax2 set debug")
self.asterisk2.cli_exec("iax2 set debug")
More information about the asterisk-commits
mailing list