1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CHORE: Add unit test for TTL changes on SRV records (#2067)

This commit is contained in:
Tom Limoncelli
2023-02-19 10:57:41 -05:00
committed by GitHub
parent a068aaa1ab
commit 43c5b17ed8

View File

@@ -1022,6 +1022,12 @@ func makeTests(t *testing.T) []*TestGroup {
tc("Null Target", srv("_sip._tcp", 15, 65, 75, ".")),
),
// https://github.com/StackExchange/dnscontrol/issues/2066
testgroup("SRV", requires(providers.CanUseSRV),
tc("Create SRV333", ttl(srv("_sip._tcp", 5, 6, 7, "foo.com."), 333)),
tc("Change TTL999", ttl(srv("_sip._tcp", 5, 6, 7, "foo.com."), 999)),
),
testgroup("SSHFP",
requires(providers.CanUseSSHFP),
tc("SSHFP record",