[Asterisk-code-review] testsuite: Increase the shutdown timeout time. (testsuite[master])

Richard Mudgett asteriskteam at digium.com
Thu Dec 1 13:36:35 CST 2016


Richard Mudgett has uploaded a new change for review. ( https://gerrit.asterisk.org/4548 )

Change subject: testsuite: Increase the shutdown timeout time.
......................................................................

testsuite: Increase the shutdown timeout time.

The shutdown timeout is too short.  As a result we were forcibly killing
Asterisk before some events are generated which can contribute to bouncing
tests and false ref leak reports.

ASTERISK-26527

Change-Id: Ib1020223120176ec9890c7fdb6abb6855a33a6a1
---
M lib/python/asterisk/asterisk.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/48/4548/1

diff --git a/lib/python/asterisk/asterisk.py b/lib/python/asterisk/asterisk.py
index 994aa5d..fd4076a 100755
--- a/lib/python/asterisk/asterisk.py
+++ b/lib/python/asterisk/asterisk.py
@@ -632,7 +632,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 10
+            sched_time = 200 if self.valgrind_enabled else 45
             self._stop_cancel_tokens.append(reactor.callLater(sched_time,
                                             __send_kill))
 

-- 
To view, visit https://gerrit.asterisk.org/4548
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib1020223120176ec9890c7fdb6abb6855a33a6a1
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list