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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user