<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/testsuite/+/14366">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bridges/softmix_unhold: Wait to create second channel.<br><br>This test exposed a bug detailed at ASTERISK~28862<br>which exhibits itself when MOH is started and stopped<br>between two threads. There is a race condition<br>where the MOH is not actually stopped even when it<br>should be.<br><br>Until the issue is resolved this change adds a delay<br>to ensure that MOH has actually started and is flowing<br>before proceeding.<br><br>Change-Id: I64ed5ff8b9e7e1d2f704e01b72ad3ed240f2f20b<br>---<br>M tests/rest_api/bridges/softmix_unhold/test-config.yaml<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/rest_api/bridges/softmix_unhold/test-config.yaml b/tests/rest_api/bridges/softmix_unhold/test-config.yaml</span><br><span>index a85b119..65b8de6 100644</span><br><span>--- a/tests/rest_api/bridges/softmix_unhold/test-config.yaml</span><br><span>+++ b/tests/rest_api/bridges/softmix_unhold/test-config.yaml</span><br><span>@@ -93,6 +93,8 @@</span><br><span>             count: 1</span><br><span>         ari-requests:</span><br><span>             -</span><br><span style="color: hsl(120, 100%, 40%);">+                # This delay is to work around ASTERISK-28862 for the moment</span><br><span style="color: hsl(120, 100%, 40%);">+                delay: 2</span><br><span>                 method: 'post'</span><br><span>                 uri: 'channels'</span><br><span>                 params:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/testsuite/+/14366">change 14366</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/testsuite/+/14366"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: testsuite </div>
<div style="display:none"> Gerrit-Branch: 17 </div>
<div style="display:none"> Gerrit-Change-Id: I64ed5ff8b9e7e1d2f704e01b72ad3ed240f2f20b </div>
<div style="display:none"> Gerrit-Change-Number: 14366 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>