From 43c5b17ed81a2a065168b85e37645f961114bbaa Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Sun, 19 Feb 2023 10:57:41 -0500 Subject: [PATCH] CHORE: Add unit test for TTL changes on SRV records (#2067) --- integrationTest/integration_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go index 113f4d797..59b34fdc3 100644 --- a/integrationTest/integration_test.go +++ b/integrationTest/integration_test.go @@ -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",