ClouDNS. Looks like SRV was marked as "not test" by mistake - it's working fine. On the other hand, PTR working in general, but can not be tested on the same domain. (#1101)

This commit is contained in:
Anton Yurchenko 2021-03-21 22:35:45 +03:00 committed by GitHub
parent 78e8daae9a
commit 8249f33913
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -968,12 +968,13 @@ func makeTests(t *testing.T) []*TestGroup {
tc("NAPTR change regexp", naptr("test", 103, 20, "A", "E2U+sip", "!^.*$!sip:customer-service@example.com!", "example2.foo.com.")), tc("NAPTR change regexp", naptr("test", 103, 20, "A", "E2U+sip", "!^.*$!sip:customer-service@example.com!", "example2.foo.com.")),
), ),
testgroup("PTR", requires(providers.CanUsePTR), not("ACTIVEDIRECTORY_PS"), // ClouDNS provider can work with PTR records, but you need to create special type of zone
testgroup("PTR", requires(providers.CanUsePTR), not("ACTIVEDIRECTORY_PS", "CLOUDNS"),
tc("Create PTR record", ptr("4", "foo.com.")), tc("Create PTR record", ptr("4", "foo.com.")),
tc("Modify PTR record", ptr("4", "bar.com.")), tc("Modify PTR record", ptr("4", "bar.com.")),
), ),
testgroup("SRV", requires(providers.CanUseSRV), not("ACTIVEDIRECTORY_PS", "CLOUDNS"), testgroup("SRV", requires(providers.CanUseSRV), not("ACTIVEDIRECTORY_PS"),
tc("SRV record", srv("_sip._tcp", 5, 6, 7, "foo.com.")), tc("SRV record", srv("_sip._tcp", 5, 6, 7, "foo.com.")),
tc("Second SRV record, same prio", srv("_sip._tcp", 5, 6, 7, "foo.com."), srv("_sip._tcp", 5, 60, 70, "foo2.com.")), tc("Second SRV record, same prio", srv("_sip._tcp", 5, 6, 7, "foo.com."), srv("_sip._tcp", 5, 60, 70, "foo2.com.")),
tc("3 SRV", srv("_sip._tcp", 5, 6, 7, "foo.com."), srv("_sip._tcp", 5, 60, 70, "foo2.com."), srv("_sip._tcp", 15, 65, 75, "foo3.com.")), tc("3 SRV", srv("_sip._tcp", 5, 6, 7, "foo.com."), srv("_sip._tcp", 5, 60, 70, "foo2.com."), srv("_sip._tcp", 15, 65, 75, "foo3.com.")),