mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
TESTING: Skip slow+useless tests for HEDNS (#2222)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
@ -976,8 +976,9 @@ func makeTests(t *testing.T) []*TestGroup {
|
|||||||
"DIGITALOCEAN", // No paging. Why bother?
|
"DIGITALOCEAN", // No paging. Why bother?
|
||||||
"CSCGLOBAL", // Doesn't page. Works fine. Due to the slow API we skip.
|
"CSCGLOBAL", // Doesn't page. Works fine. Due to the slow API we skip.
|
||||||
"GANDI_V5", // Their API is so damn slow. We'll add it back as needed.
|
"GANDI_V5", // Their API is so damn slow. We'll add it back as needed.
|
||||||
|
"HEDNS", // Doesn't page. Works fine. Due to the slow API we skip.
|
||||||
"LOOPIA", // Their API is so damn slow. Plus, no paging.
|
"LOOPIA", // Their API is so damn slow. Plus, no paging.
|
||||||
"MSDNS", // No paging done. No need to test.
|
"MSDNS", // No paging done. No need to test.
|
||||||
"NAMEDOTCOM", // Their API is so damn slow. We'll add it back as needed.
|
"NAMEDOTCOM", // Their API is so damn slow. We'll add it back as needed.
|
||||||
"NS1", // Free acct only allows 50 records, therefore we skip
|
"NS1", // Free acct only allows 50 records, therefore we skip
|
||||||
//"ROUTE53", // Batches up changes in pages.
|
//"ROUTE53", // Batches up changes in pages.
|
||||||
@ -989,13 +990,13 @@ func makeTests(t *testing.T) []*TestGroup {
|
|||||||
|
|
||||||
testgroup("pager601",
|
testgroup("pager601",
|
||||||
only(
|
only(
|
||||||
//"AZURE_DNS", // Removed because it is too slow
|
//"AZURE_DNS", // Removed because it is too slow
|
||||||
//"CLOUDFLAREAPI", // Infinite pagesize but due to slow speed, skipping.
|
//"CLOUDFLAREAPI", // Infinite pagesize but due to slow speed, skipping.
|
||||||
//"CSCGLOBAL", // Doesn't page. Works fine. Due to the slow API we skip.
|
//"CSCGLOBAL", // Doesn't page. Works fine. Due to the slow API we skip.
|
||||||
//"GANDI_V5", // Their API is so damn slow. We'll add it back as needed.
|
//"GANDI_V5", // Their API is so damn slow. We'll add it back as needed.
|
||||||
|
//"MSDNS", // No paging done. No need to test.
|
||||||
"GCLOUD",
|
"GCLOUD",
|
||||||
"HEXONET",
|
"HEXONET",
|
||||||
//"MSDNS", // No paging done. No need to test.
|
|
||||||
"ROUTE53", // Batches up changes in pages.
|
"ROUTE53", // Batches up changes in pages.
|
||||||
),
|
),
|
||||||
tc("601 records", manyA("rec%04d", "1.2.3.4", 600)...),
|
tc("601 records", manyA("rec%04d", "1.2.3.4", 600)...),
|
||||||
@ -1005,14 +1006,15 @@ func makeTests(t *testing.T) []*TestGroup {
|
|||||||
testgroup("pager1201",
|
testgroup("pager1201",
|
||||||
only(
|
only(
|
||||||
//"AKAMAIEDGEDNS", // No paging done. No need to test.
|
//"AKAMAIEDGEDNS", // No paging done. No need to test.
|
||||||
//"AZURE_DNS", // Currently failing. See https://github.com/StackExchange/dnscontrol/issues/770
|
//"AZURE_DNS", // Currently failing. See https://github.com/StackExchange/dnscontrol/issues/770
|
||||||
//"CLOUDFLAREAPI", // Fails with >1000 corrections. See https://github.com/StackExchange/dnscontrol/issues/1440
|
//"CLOUDFLAREAPI", // Fails with >1000 corrections. See https://github.com/StackExchange/dnscontrol/issues/1440
|
||||||
//"CSCGLOBAL", // Doesn't page. Works fine. Due to the slow API we skip.
|
//"CSCGLOBAL", // Doesn't page. Works fine. Due to the slow API we skip.
|
||||||
//"GANDI_V5", // Their API is so damn slow. We'll add it back as needed.
|
//"GANDI_V5", // Their API is so damn slow. We'll add it back as needed.
|
||||||
"HEXONET",
|
//"HEDNS", // No paging done. No need to test.
|
||||||
"HOSTINGDE",
|
|
||||||
//"MSDNS", // No paging done. No need to test.
|
//"MSDNS", // No paging done. No need to test.
|
||||||
"ROUTE53", // Batches up changes in pages.
|
"HEXONET",
|
||||||
|
"HOSTINGDE", // Pages.
|
||||||
|
"ROUTE53", // Batches up changes in pages.
|
||||||
),
|
),
|
||||||
tc("1200 records", manyA("rec%04d", "1.2.3.4", 1200)...),
|
tc("1200 records", manyA("rec%04d", "1.2.3.4", 1200)...),
|
||||||
tc("Update 1200 records", manyA("rec%04d", "1.2.3.5", 1200)...),
|
tc("Update 1200 records", manyA("rec%04d", "1.2.3.5", 1200)...),
|
||||||
|
Reference in New Issue
Block a user