[asterisk-commits] rmudgett: testsuite/asterisk/trunk r3246 - /asterisk/trunk/tests/masquerade/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 31 16:49:08 CDT 2012


Author: rmudgett
Date: Thu May 31 16:49:04 2012
New Revision: 3246

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3246
Log:
Add core show locks to masquerade test.

Modified:
    asterisk/trunk/tests/masquerade/run-test

Modified: asterisk/trunk/tests/masquerade/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/masquerade/run-test?view=diff&rev=3246&r1=3245&r2=3246
==============================================================================
--- asterisk/trunk/tests/masquerade/run-test (original)
+++ asterisk/trunk/tests/masquerade/run-test Thu May 31 16:49:04 2012
@@ -172,6 +172,15 @@
 
     # This is called when we stop the reactor.
     def stop_reactor(self):
+        # Get some useful output from the Asterisk instance
+        # under test before tearing down in case of problems.
+        self.ast[0].cli_exec("core show locks")
+        # Must do "core show channels" after "core show locks" because
+        # the show channels command is likely to fail if a deadlock
+        # has happened.
+        #self.ast[0].cli_exec("core show channels concise")
+        self.ast[0].cli_exec("core show channels")
+
         self.test_complete = True
         TestCase.stop_reactor(self)
 




More information about the asterisk-commits mailing list