mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 18:08:57 +08:00
CHORE: Add unit test for TTL changes on SRV records (#2067)
This commit is contained in:
parent
a068aaa1ab
commit
43c5b17ed8
1 changed files with 6 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue