Skip to content

Commit f500bfb

Browse files
committed
VERCEL: skip all IGNORE* tests
1 parent 6bf07d2 commit f500bfb

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

integrationTest/integration_test.go

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,6 +1286,9 @@ func makeTests() []*TestGroup {
12861286
// them anyway because one never knows. Ready? Let's go!
12871287

12881288
testgroup("IGNORE main",
1289+
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
1290+
not("VERCEL"),
1291+
12891292
tc("Create some records",
12901293
a("foo", "1.2.3.4"),
12911294
a("foo", "2.3.4.5"),
@@ -1430,6 +1433,9 @@ func makeTests() []*TestGroup {
14301433

14311434
// Same as "main" but with an apex ("@") record.
14321435
testgroup("IGNORE apex",
1436+
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
1437+
not("VERCEL"),
1438+
14331439
tc("Create some records",
14341440
a("@", "1.2.3.4"),
14351441
a("@", "2.3.4.5"),
@@ -1565,6 +1571,9 @@ func makeTests() []*TestGroup {
15651571
// IGNORE with unsafe notation
15661572

15671573
testgroup("IGNORE unsafe",
1574+
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
1575+
not("VERCEL"),
1576+
15681577
tc("Create some records",
15691578
txt("foo", "simple"),
15701579
a("foo", "1.2.3.4"),
@@ -1604,6 +1613,9 @@ func makeTests() []*TestGroup {
16041613
// IGNORE with wildcards
16051614

16061615
testgroup("IGNORE wilds",
1616+
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
1617+
not("VERCEL"),
1618+
16071619
tc("Create some records",
16081620
a("foo.bat", "1.2.3.4"),
16091621
a("foo.bat", "2.3.4.5"),
@@ -1663,7 +1675,10 @@ func makeTests() []*TestGroup {
16631675

16641676
// IGNORE with changes
16651677
testgroup("IGNORE with modify",
1666-
not("NAMECHEAP"), // Will fail until converted to use diff2 module.
1678+
not(
1679+
"NAMECHEAP", // Will fail until converted to use diff2 module.
1680+
"VERCEL", // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
1681+
),
16671682
tc("Create some records",
16681683
a("foo", "1.1.1.1"),
16691684
a("foo", "10.10.10.10"),
@@ -1772,6 +1787,8 @@ func makeTests() []*TestGroup {
17721787

17731788
// https://github.com/StackExchange/dnscontrol/issues/2285
17741789
testgroup("IGNORE_TARGET b2285",
1790+
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
1791+
not("VERCEL"),
17751792
tc("Create some records",
17761793
cname("foo", "redact1.acm-validations.aws."),
17771794
cname("bar", "redact2.acm-validations.aws."),
@@ -1791,6 +1808,8 @@ func makeTests() []*TestGroup {
17911808
// changes. This resulted in the deSEC provider generating an
17921809
// empty upsert, which the API rejected.
17931810
testgroup("IGNORE everything b2822",
1811+
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
1812+
not("VERCEL"),
17941813
tc("Create some records",
17951814
a("dyndns-city1", "91.42.1.1"),
17961815
a("dyndns-city2", "91.42.1.2"),
@@ -1815,7 +1834,10 @@ func makeTests() []*TestGroup {
18151834

18161835
// https://github.com/StackExchange/dnscontrol/issues/3227
18171836
testgroup("IGNORE w/change b3227",
1818-
not("NAMECHEAP"), // Will fail until converted to use diff2 module.
1837+
not(
1838+
"NAMECHEAP", // Will fail until converted to use diff2 module.
1839+
"VERCEL", // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
1840+
),
18191841
tc("Create some records",
18201842
a("testignore", "8.8.8.8"),
18211843
a("testdefined", "9.9.9.9"),

0 commit comments

Comments
 (0)