[Asterisk-code-review] pbx/call-files: Cleanup AGI connections. (testsuite[master])
Corey Farrell
asteriskteam at digium.com
Mon Jun 15 18:34:07 CDT 2015
Corey Farrell has uploaded a new change for review.
https://gerrit.asterisk.org/663
Change subject: pbx/call-files: Cleanup AGI connections.
......................................................................
pbx/call-files: Cleanup AGI connections.
Cleanup AGI connections after 2 seconds, twice the 1 second
Wait run by each channel. This allows all calls to end so
Asterisk can shutdown cleanly.
Change-Id: I8739bdb9bc0f17986fbbdb7a29f82d17d95e5638
---
M tests/pbx/call-files/run-test
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/63/663/1
diff --git a/tests/pbx/call-files/run-test b/tests/pbx/call-files/run-test
index cc506ef..a7bada5 100755
--- a/tests/pbx/call-files/run-test
+++ b/tests/pbx/call-files/run-test
@@ -40,6 +40,8 @@
def fastagi_connect(self, agi):
LOGGER.info("sample%s.call file executed." % (self.test))
+ reactor.callLater(2, agi.finish)
+
if self.test < self.num_tests:
self.launch_test()
else: self.finalize()
--
To view, visit https://gerrit.asterisk.org/663
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8739bdb9bc0f17986fbbdb7a29f82d17d95e5638
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
More information about the asterisk-code-review
mailing list