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

Add integration test for TXT records longer than 255 characters

This commit is contained in:
Robert Blenkinsopp
2020-08-23 09:06:21 +01:00
parent 9ebbf6036b
commit 657272db9e

View File

@ -874,6 +874,12 @@ func makeTests(t *testing.T) []*TestGroup {
txtmulti("foo3", []string{strings.Repeat("X", 255), strings.Repeat("Y", 255), strings.Repeat("Z", 255)})), txtmulti("foo3", []string{strings.Repeat("X", 255), strings.Repeat("Y", 255), strings.Repeat("Z", 255)})),
), ),
testgroup("TXTLong",
requires(providers.CanUseTXTMulti),
only("HEDNS"),
tc("TXT longer than 255 bytes", txt("foo1", strings.Repeat("X", 256))),
),
testgroup("DS", testgroup("DS",
requires(providers.CanUseDS), requires(providers.CanUseDS),
tc("create DS", ds("@", 1, 13, 1, "ADIGEST")), tc("create DS", ds("@", 1, 13, 1, "ADIGEST")),