1
0
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:
Tom Limoncelli
2023-03-24 08:12:32 -07:00
committed by GitHub
parent 7de874fbf8
commit 65bfdaee13

View File

@ -976,6 +976,7 @@ 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.
@ -993,9 +994,9 @@ func makeTests(t *testing.T) []*TestGroup {
//"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)...),
@ -1009,9 +1010,10 @@ func makeTests(t *testing.T) []*TestGroup {
//"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.
"HEXONET",
"HOSTINGDE", // Pages.
"ROUTE53", // Batches up changes in 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)...),