[Asterisk-code-review] tests/channels/pjsip/dialplan functions/pjsip contact: Wait ... (testsuite[master])

Anonymous Coward asteriskteam at digium.com
Tue Dec 8 13:14:05 CST 2015


Anonymous Coward #1000019 has submitted this change and it was merged.

Change subject: tests/channels/pjsip/dialplan_functions/pjsip_contact: Wait before querying.
......................................................................


tests/channels/pjsip/dialplan_functions/pjsip_contact: Wait before querying.

When querying the information for a PJSIP contact close to when it is
added it is possible to get results you may not expect. To let things
settle and finish we wait a period of time before doing the actual
checks.

Change-Id: Id27d6f6b8eb240d50351ee4e32a09c7a2719ca9c
---
M tests/channels/pjsip/dialplan_functions/pjsip_contact/configs/ast1/extensions.conf
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved



diff --git a/tests/channels/pjsip/dialplan_functions/pjsip_contact/configs/ast1/extensions.conf b/tests/channels/pjsip/dialplan_functions/pjsip_contact/configs/ast1/extensions.conf
index 8c19c1a..529f32f 100644
--- a/tests/channels/pjsip/dialplan_functions/pjsip_contact/configs/ast1/extensions.conf
+++ b/tests/channels/pjsip/dialplan_functions/pjsip_contact/configs/ast1/extensions.conf
@@ -13,6 +13,7 @@
 
 exten => s,1,NoOp()
 same => n,Answer()
+same => n,Wait(5)
 
 ; Test Alice's (dynamic registration) properties
 same => n,GoSub(default,test_variable,1(alice\;@81363c8ccd1bbe394538018e5bee371f,uri,sip:alice at 127.0.0.1:5061))

-- 
To view, visit https://gerrit.asterisk.org/1781
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id27d6f6b8eb240d50351ee4e32a09c7a2719ca9c
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>



More information about the asterisk-code-review mailing list