[Asterisk-code-review] bridges/softmix_unhold: Wait to create second channel. (testsuite[13])

Joshua Colp asteriskteam at digium.com
Wed Apr 29 11:18:59 CDT 2020


Joshua Colp has uploaded this change for review. ( https://gerrit.asterisk.org/c/testsuite/+/14333 )


Change subject: bridges/softmix_unhold: Wait to create second channel.
......................................................................

bridges/softmix_unhold: Wait to create second channel.

This test exposed a bug detailed at ASTERISK~28862
which exhibits itself when MOH is started and stopped
between two threads. There is a race condition
where the MOH is not actually stopped even when it
should be.

Until the issue is resolved this change adds a delay
to ensure that MOH has actually started and is flowing
before proceeding.

Change-Id: I64ed5ff8b9e7e1d2f704e01b72ad3ed240f2f20b
---
M tests/rest_api/bridges/softmix_unhold/test-config.yaml
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/33/14333/1

diff --git a/tests/rest_api/bridges/softmix_unhold/test-config.yaml b/tests/rest_api/bridges/softmix_unhold/test-config.yaml
index a85b119..b67846a 100644
--- a/tests/rest_api/bridges/softmix_unhold/test-config.yaml
+++ b/tests/rest_api/bridges/softmix_unhold/test-config.yaml
@@ -93,6 +93,7 @@
             count: 1
         ari-requests:
             -
+                delay: 2
                 method: 'post'
                 uri: 'channels'
                 params:

-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/14333
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 13
Gerrit-Change-Id: I64ed5ff8b9e7e1d2f704e01b72ad3ed240f2f20b
Gerrit-Change-Number: 14333
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200429/d07b87b3/attachment.html>


More information about the asterisk-code-review mailing list