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

respect max batch size for r53 (#509)

This commit is contained in:
Craig Peterson
2019-06-26 23:45:34 -04:00
committed by GitHub
parent be10c5f7c2
commit 394b9ccf41
2 changed files with 43 additions and 10 deletions

View File

@@ -616,7 +616,19 @@ func makeTests(t *testing.T) []*TestCase {
)
}
// test r53 for very very large batch sizes
if *providerToRun == "ROUTE53"{
tests = append(tests,
tc("600 records", manyA("rec%04d", "1.2.3.4", 600)...),
tc("Update 600 records", manyA("rec%04d", "1.2.3.5", 600)...),
tc("Empty"),
tc("1200 records", manyA("rec%04d", "1.2.3.4", 1200)...),
tc("Update 1200 records", manyA("rec%04d", "1.2.3.5", 1200)...),
tc("Empty"),
)
}
// Empty last
tc("Empty")
tests = append(tests,tc("Empty"))
return tests
}