[asterisk-bugs] [JIRA] (ASTERISK-24101) Ensure AMI connections are torn down

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Jul 22 17:42:57 CDT 2014


Rusty Newton created ASTERISK-24101:
---------------------------------------

             Summary: Ensure AMI connections are torn down
                 Key: ASTERISK-24101
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24101
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Tests/testsuite
         Environment: Any testsuite test that makes an AMI connection.
            Reporter: Kinsey Moore


Asterisk currently leaks references on shutdown when AMI connections are still open which pollutes reference logs generated by the testsuite. The attached patch cleans up known AMI connections before shutting down Asterisk for each test that runs.

This change causes several badly-written tests to fail because they were already running on the hairy edge in terms of getting AMI messages out of Asterisk just before shutdown. These tests need to be fixed.

There are also tests which overwrite self.ami with an AMI instance which need to be fixed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list