Author: coreyfarrell Date: Wed Mar 11 12:24:00 2015 New Revision: 6507 URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=6507 Log: Increase timeout for Asterisk shutdown.
Asterisk 13+ can take more than 5 seconds to shutdown with certain debug modes enabled. This increases the timeout to 10 seconds. Review: https://reviewboard.asterisk.org/r/4464/ Modified: asterisk/trunk/lib/python/asterisk/asterisk.py Modified: asterisk/trunk/lib/python/asterisk/asterisk.py URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/asterisk.py?view=diff&rev=6507&r1=6506&r2=6507 ============================================================================== --- asterisk/trunk/lib/python/asterisk/asterisk.py (original) +++ asterisk/trunk/lib/python/asterisk/asterisk.py Wed Mar 11 12:24:00 2015 @@ -466,7 +466,7 @@ else: # Schedule a kill. If we don't gracefully shut down Asterisk, this # will ensure that the test is stopped. - sched_time = 200 if self.valgrind_enabled else 5 + sched_time = 200 if self.valgrind_enabled else 10 self._stop_cancel_tokens.append(reactor.callLater(sched_time, __send_kill)) -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- svn-commits mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/svn-commits