[asterisk-bugs] [JIRA] (ASTERISK-24215) testsuite: ARI Live Dangerously test fails due to wrong response code from Asterisk

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Aug 12 09:50:29 CDT 2014


Matt Jordan created ASTERISK-24215:
--------------------------------------

             Summary: testsuite: ARI Live Dangerously test fails due to wrong response code from Asterisk
                 Key: ASTERISK-24215
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24215
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Tests/testsuite
    Affects Versions: 12.5.0, 13.0.0-beta1
            Reporter: Matt Jordan


When testing the "Live Dangerously" option, the ARI test {{rest_api/danger/safe}} is currently failing due to the {{SHELL}} function being appropriately blocked but returning a {{500 server error: allocation}} instead of ... what used to get returned. In this case, we used to return success and a blank value.

Returning an error is perfectly fine, but an allocation error is probably not correct. Both Asterisk and the test should be updated accordingly.



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



More information about the asterisk-bugs mailing list