[Asterisk-code-review] pjsip/config wizard/trunk: Allow alternate ordering of matches (testsuite[master])

George Joseph asteriskteam at digium.com
Wed Jan 25 11:21:38 CST 2017


George Joseph has submitted this change and it was merged. ( https://gerrit.asterisk.org/4779 )

Change subject: pjsip/config_wizard/trunk:  Allow alternate ordering of matches
......................................................................


pjsip/config_wizard/trunk:  Allow alternate ordering of matches

The pjsip/config_wizard/trunk test would occasionally fail because
the identify detail event would come back with a re-ordered
Match.  Just added regexes to match.

Change-Id: I80acd154b18a255cb6732ccd286afb930be85b18
---
M tests/channels/pjsip/config_wizard/trunk/test-config.yaml
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  George Joseph: Looks good to me, approved
  Anonymous Coward #1000019: Verified



diff --git a/tests/channels/pjsip/config_wizard/trunk/test-config.yaml b/tests/channels/pjsip/config_wizard/trunk/test-config.yaml
index 3a6f06a..d92d9e6 100644
--- a/tests/channels/pjsip/config_wizard/trunk/test-config.yaml
+++ b/tests/channels/pjsip/config_wizard/trunk/test-config.yaml
@@ -188,7 +188,7 @@
                     ActionID: '12345'
                     ObjectType: 'identify'
                     ObjectName: 'trunk1-identify'
-                    Match: '127.0.0.5/255.255.255.255,127.0.0.6/255.255.255.255'
+                    Match: '127.0.0.[56]/255.255.255.255,127.0.0.[56]/255.255.255.255'
                     Endpoint: 'trunk1'
                     EndpointName: 'trunk1'
             count: 1

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I80acd154b18a255cb6732ccd286afb930be85b18
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>



More information about the asterisk-code-review mailing list