[Asterisk-code-review] Inbound registration path: Early invite causes test timeout (testsuite[16])

Kevin Harwell asteriskteam at digium.com
Wed Sep 12 17:11:56 CDT 2018


Kevin Harwell has uploaded this change for review. ( https://gerrit.asterisk.org/10122


Change subject: Inbound registration path: Early invite causes test timeout
......................................................................

Inbound registration path: Early invite causes test timeout

The pjsip/registration/inbound/nominal/path/ test was set to originate a call
at 'ami_connect'. However, the SIPp scenario meant to receive the invite was
set to start later (possibly much later on slower systems). If the scenario
started after the invite timed out then the test would end up failing due to
the scenario timing out (never gets the invite).

This patch makes it so the call is not originated until after the receiving
invite scenario has been started.

Change-Id: I29d6f05492941f0d87bd4a8d6f3f20ff6a242ab4
---
M tests/channels/pjsip/registration/inbound/nominal/path/test-config.yaml
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/22/10122/1

diff --git a/tests/channels/pjsip/registration/inbound/nominal/path/test-config.yaml b/tests/channels/pjsip/registration/inbound/nominal/path/test-config.yaml
index e2d7d9d..2283be9 100644
--- a/tests/channels/pjsip/registration/inbound/nominal/path/test-config.yaml
+++ b/tests/channels/pjsip/registration/inbound/nominal/path/test-config.yaml
@@ -30,7 +30,7 @@
             typename: 'pluggable_modules.Originator'
 
 originator-ua1_invite_recv:
-    trigger: 'ami_connect'
+    scenario-trigger-after: '3'
 
 sipp-config:
     memcheck-delay-stop: 7

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

Gerrit-Project: testsuite
Gerrit-Branch: 16
Gerrit-MessageType: newchange
Gerrit-Change-Id: I29d6f05492941f0d87bd4a8d6f3f20ff6a242ab4
Gerrit-Change-Number: 10122
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180912/cf2c5870/attachment.html>


More information about the asterisk-code-review mailing list