From f500bfb1fbaf3374c85af09e4ec4b47b8fc4317f Mon Sep 17 00:00:00 2001 From: SukkaW Date: Sun, 7 Dec 2025 15:35:40 +0800 Subject: [PATCH] VERCEL: skip all `IGNORE*` tests --- integrationTest/integration_test.go | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go index 090d08620..ec5458316 100644 --- a/integrationTest/integration_test.go +++ b/integrationTest/integration_test.go @@ -1286,6 +1286,9 @@ func makeTests() []*TestGroup { // them anyway because one never knows. Ready? Let's go! testgroup("IGNORE main", + // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel + not("VERCEL"), + tc("Create some records", a("foo", "1.2.3.4"), a("foo", "2.3.4.5"), @@ -1430,6 +1433,9 @@ func makeTests() []*TestGroup { // Same as "main" but with an apex ("@") record. testgroup("IGNORE apex", + // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel + not("VERCEL"), + tc("Create some records", a("@", "1.2.3.4"), a("@", "2.3.4.5"), @@ -1565,6 +1571,9 @@ func makeTests() []*TestGroup { // IGNORE with unsafe notation testgroup("IGNORE unsafe", + // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel + not("VERCEL"), + tc("Create some records", txt("foo", "simple"), a("foo", "1.2.3.4"), @@ -1604,6 +1613,9 @@ func makeTests() []*TestGroup { // IGNORE with wildcards testgroup("IGNORE wilds", + // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel + not("VERCEL"), + tc("Create some records", a("foo.bat", "1.2.3.4"), a("foo.bat", "2.3.4.5"), @@ -1663,7 +1675,10 @@ func makeTests() []*TestGroup { // IGNORE with changes testgroup("IGNORE with modify", - not("NAMECHEAP"), // Will fail until converted to use diff2 module. + not( + "NAMECHEAP", // Will fail until converted to use diff2 module. + "VERCEL", // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel + ), tc("Create some records", a("foo", "1.1.1.1"), a("foo", "10.10.10.10"), @@ -1772,6 +1787,8 @@ func makeTests() []*TestGroup { // https://github.com/StackExchange/dnscontrol/issues/2285 testgroup("IGNORE_TARGET b2285", + // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel + not("VERCEL"), tc("Create some records", cname("foo", "redact1.acm-validations.aws."), cname("bar", "redact2.acm-validations.aws."), @@ -1791,6 +1808,8 @@ func makeTests() []*TestGroup { // changes. This resulted in the deSEC provider generating an // empty upsert, which the API rejected. testgroup("IGNORE everything b2822", + // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel + not("VERCEL"), tc("Create some records", a("dyndns-city1", "91.42.1.1"), a("dyndns-city2", "91.42.1.2"), @@ -1815,7 +1834,10 @@ func makeTests() []*TestGroup { // https://github.com/StackExchange/dnscontrol/issues/3227 testgroup("IGNORE w/change b3227", - not("NAMECHEAP"), // Will fail until converted to use diff2 module. + not( + "NAMECHEAP", // Will fail until converted to use diff2 module. + "VERCEL", // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel + ), tc("Create some records", a("testignore", "8.8.8.8"), a("testdefined", "9.9.9.9"),