[asterisk-commits] Destroy bridge on test completion. (testsuite[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 4 07:15:32 CDT 2015


Joshua Colp has submitted this change and it was merged.

Change subject: Destroy bridge on test completion.
......................................................................


Destroy bridge on test completion.

This prevents the test from causing a reference leak.

Change-Id: I8d8063f116ccd2d55a4bf4b93b54cf226e78147e
---
M tests/rest_api/events/user/multi/test-config.yaml
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Matt Jordan: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Verified



diff --git a/tests/rest_api/events/user/multi/test-config.yaml b/tests/rest_api/events/user/multi/test-config.yaml
index 2851cc4..02f7311 100644
--- a/tests/rest_api/events/user/multi/test-config.yaml
+++ b/tests/rest_api/events/user/multi/test-config.yaml
@@ -237,9 +237,10 @@
             count: 1
             # end of test, delete the test channel
             requests:
-                method: 'delete'
+            -   method: 'delete'
                 uri: 'channels/testsuite-default-id'
-
+            -   method: 'delete'
+                uri: 'bridges/GeorgeWashington'
 
 
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8d8063f116ccd2d55a4bf4b93b54cf226e78147e
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-commits mailing list