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

Joshua Colp asteriskteam at digium.com
Tue Dec 8 06:34:23 CST 2015


Joshua Colp has uploaded a new change for review.

  https://gerrit.asterisk.org/1781

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(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/81/1781/1

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: newchange
Gerrit-Change-Id: Id27d6f6b8eb240d50351ee4e32a09c7a2719ca9c
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list