[asterisk-dev] Change in testsuite[master]: pjsip: Add basic resolver tests covering A/AAAA, SRV, and NA...

Joshua Colp (Code Review) asteriskteam at digium.com
Mon Apr 13 08:00:43 CDT 2015


Joshua Colp has uploaded a new patch set (#2).

Change subject: pjsip: Add basic resolver tests covering A/AAAA, SRV, and NAPTR.
......................................................................

pjsip: Add basic resolver tests covering A/AAAA, SRV, and NAPTR.

These tests cover the following:

1. Dialing a URI with a hostname that resolves to only an A record
2. Dialing a URI with a hostname that resolves to an AAAA+A record
3. Dialing a URI with a hostname and unspecified transport that resolves using SRV to TCP transport with A record
4. Dialing a URI with a hostname and TCP transport that resolves using SRV to TCP transport with A record
5. Dialing a URI with a hostname and UDP transport that resolves using SRV to UDP transport with A record
6. Dialing a URI with a hostname and unspecified transport that resolves using NAPTR/SRV to TCP transport with A record
7. Dialing a URI with a hostname and TCP transport that resolves using NAPTR/SRV to TCP transport with A record
8. Dialing a URI with a hostname and UDP transport that resolves using NAPTR/SRV to UDP transport with A record

ASTERISK-24947 #close
Reported by: Joshua Colp

Change-Id: I8690d6b2441937ab9d7fea6f1e41c3d6985a1d9e
---
A tests/channels/pjsip/resolver/a/configs/ast1/extensions.conf
A tests/channels/pjsip/resolver/a/configs/ast1/pjsip.conf
A tests/channels/pjsip/resolver/a/configs/ast1/resolver_unbound.conf
A tests/channels/pjsip/resolver/a/dns_zones/example.com
A tests/channels/pjsip/resolver/a/sipp/uas.xml
A tests/channels/pjsip/resolver/a/test-config.yaml
A tests/channels/pjsip/resolver/aaaa/configs/ast1/extensions.conf
A tests/channels/pjsip/resolver/aaaa/configs/ast1/pjsip.conf
A tests/channels/pjsip/resolver/aaaa/configs/ast1/resolver_unbound.conf
A tests/channels/pjsip/resolver/aaaa/dns_zones/example.com
A tests/channels/pjsip/resolver/aaaa/sipp/uas.xml
A tests/channels/pjsip/resolver/aaaa/test-config.yaml
A tests/channels/pjsip/resolver/naptr/tests.yaml
A tests/channels/pjsip/resolver/naptr/transport_tcp/configs/ast1/extensions.conf
A tests/channels/pjsip/resolver/naptr/transport_tcp/configs/ast1/pjsip.conf
A tests/channels/pjsip/resolver/naptr/transport_tcp/configs/ast1/resolver_unbound.conf
A tests/channels/pjsip/resolver/naptr/transport_tcp/dns_zones/example.com
A tests/channels/pjsip/resolver/naptr/transport_tcp/sipp/uas.xml
A tests/channels/pjsip/resolver/naptr/transport_tcp/test-config.yaml
A tests/channels/pjsip/resolver/naptr/transport_udp/configs/ast1/extensions.conf
A tests/channels/pjsip/resolver/naptr/transport_udp/configs/ast1/pjsip.conf
A tests/channels/pjsip/resolver/naptr/transport_udp/configs/ast1/resolver_unbound.conf
A tests/channels/pjsip/resolver/naptr/transport_udp/dns_zones/example.com
A tests/channels/pjsip/resolver/naptr/transport_udp/sipp/uas.xml
A tests/channels/pjsip/resolver/naptr/transport_udp/test-config.yaml
A tests/channels/pjsip/resolver/naptr/transport_unspecified/configs/ast1/extensions.conf
A tests/channels/pjsip/resolver/naptr/transport_unspecified/configs/ast1/pjsip.conf
A tests/channels/pjsip/resolver/naptr/transport_unspecified/configs/ast1/resolver_unbound.conf
A tests/channels/pjsip/resolver/naptr/transport_unspecified/dns_zones/example.com
A tests/channels/pjsip/resolver/naptr/transport_unspecified/sipp/uas.xml
A tests/channels/pjsip/resolver/naptr/transport_unspecified/test-config.yaml
A tests/channels/pjsip/resolver/srv/tests.yaml
A tests/channels/pjsip/resolver/srv/transport_tcp/configs/ast1/extensions.conf
A tests/channels/pjsip/resolver/srv/transport_tcp/configs/ast1/pjsip.conf
A tests/channels/pjsip/resolver/srv/transport_tcp/configs/ast1/resolver_unbound.conf
A tests/channels/pjsip/resolver/srv/transport_tcp/dns_zones/example.com
A tests/channels/pjsip/resolver/srv/transport_tcp/sipp/uas.xml
A tests/channels/pjsip/resolver/srv/transport_tcp/test-config.yaml
A tests/channels/pjsip/resolver/srv/transport_udp/configs/ast1/extensions.conf
A tests/channels/pjsip/resolver/srv/transport_udp/configs/ast1/pjsip.conf
A tests/channels/pjsip/resolver/srv/transport_udp/configs/ast1/resolver_unbound.conf
A tests/channels/pjsip/resolver/srv/transport_udp/dns_zones/example.com
A tests/channels/pjsip/resolver/srv/transport_udp/sipp/uas.xml
A tests/channels/pjsip/resolver/srv/transport_udp/test-config.yaml
A tests/channels/pjsip/resolver/srv/transport_unspecified/configs/ast1/extensions.conf
A tests/channels/pjsip/resolver/srv/transport_unspecified/configs/ast1/pjsip.conf
A tests/channels/pjsip/resolver/srv/transport_unspecified/configs/ast1/resolver_unbound.conf
A tests/channels/pjsip/resolver/srv/transport_unspecified/dns_zones/example.com
A tests/channels/pjsip/resolver/srv/transport_unspecified/sipp/uas.xml
A tests/channels/pjsip/resolver/srv/transport_unspecified/test-config.yaml
A tests/channels/pjsip/resolver/tests.yaml
M tests/channels/pjsip/tests.yaml
52 files changed, 1,338 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/31/31/2
-- 
To view, visit https://gerrit.asterisk.org/31
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I8690d6b2441937ab9d7fea6f1e41c3d6985a1d9e
Gerrit-PatchSet: 2
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Jared K. Smith <jaredsmith at jaredsmith.net>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-dev mailing list