<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/testsuite/+/14049">View Change</a></p><div style="white-space:pre-wrap">Approvals:
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">rest_api: Tweak subscribe-all test timing to allow qualify.<br><br>This test would sometimes fail as the qualify would not occur in<br>a timely fashion due to randomized initial qualifying. This change<br>tweaks the qualify frequency to 1 second to have it occur sooner<br>and also prolongs the test some to give more time.<br><br>Change-Id: I428669462c22c6f9a19e9aa228fffc67c86bb054<br>---<br>M tests/rest_api/applications/subscribe-all/configs/ast1/extensions.conf<br>M tests/rest_api/applications/subscribe-all/test-config.yaml<br>2 files changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/rest_api/applications/subscribe-all/configs/ast1/extensions.conf b/tests/rest_api/applications/subscribe-all/configs/ast1/extensions.conf</span><br><span>index 62dea66..0e114bd 100644</span><br><span>--- a/tests/rest_api/applications/subscribe-all/configs/ast1/extensions.conf</span><br><span>+++ b/tests/rest_api/applications/subscribe-all/configs/ast1/extensions.conf</span><br><span>@@ -10,5 +10,5 @@</span><br><span> </span><br><span> exten => 1000,1,NoOp()</span><br><span> same => n,Answer()</span><br><span style="color: hsl(0, 100%, 40%);">- same => n,Wait(1)</span><br><span style="color: hsl(120, 100%, 40%);">+ same => n,Wait(5)</span><br><span> same => n,Hangup()</span><br><span>diff --git a/tests/rest_api/applications/subscribe-all/test-config.yaml b/tests/rest_api/applications/subscribe-all/test-config.yaml</span><br><span>index d48b310..e8f9c51 100644</span><br><span>--- a/tests/rest_api/applications/subscribe-all/test-config.yaml</span><br><span>+++ b/tests/rest_api/applications/subscribe-all/test-config.yaml</span><br><span>@@ -52,7 +52,7 @@</span><br><span> method: 'put'</span><br><span> uri: 'asterisk/config/dynamic/res_pjsip/aor/alice'</span><br><span> body: { 'fields': [ { 'attribute': 'contact', 'value': 'sip:alice@127.0.0.1:5060;transport=udp' },</span><br><span style="color: hsl(0, 100%, 40%);">- { 'attribute': 'qualify_frequency', value: '5' } ] }</span><br><span style="color: hsl(120, 100%, 40%);">+ { 'attribute': 'qualify_frequency', value: '1' } ] }</span><br><span> expect: 200</span><br><span> -</span><br><span> method: 'put'</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/testsuite/+/14049">change 14049</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/+/14049"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: testsuite </div>
<div style="display:none"> Gerrit-Branch: certified/16.8 </div>
<div style="display:none"> Gerrit-Change-Id: I428669462c22c6f9a19e9aa228fffc67c86bb054 </div>
<div style="display:none"> Gerrit-Change-Number: 14049 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </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-MessageType: merged </div>