[Asterisk-code-review] Destroy bridge on test completion. (testsuite[master])

Corey Farrell asteriskteam at digium.com
Wed Jun 3 21:32:45 CDT 2015


Corey Farrell has uploaded a new change for review.

  https://gerrit.asterisk.org/584

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(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/84/584/1

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: newchange
Gerrit-Change-Id: I8d8063f116ccd2d55a4bf4b93b54cf226e78147e
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