Skip to content

Commit 263f43c

Browse files
committed
chore(test): Skip some rulesets tests
Skipping since we can't add a new ruleset to the http_ratelimit phase.
1 parent 7278846 commit 263f43c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/services/ruleset/resource_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ func TestAccCloudflareRuleset_WAFManagedRulesetWithPayloadLogging(t *testing.T)
684684
}
685685

686686
func TestAccCloudflareRuleset_RateLimit(t *testing.T) {
687+
t.Skip(`'zone' is not a valid value for kind because exceeded maximum number of zone rulesets for phase http_ratelimit`)
687688
// Temporarily unset CLOUDFLARE_API_TOKEN if it is set as the WAF
688689
// service does not yet support the API tokens and it results in
689690
// misleading state error messages.
@@ -734,6 +735,7 @@ func TestAccCloudflareRuleset_RateLimit(t *testing.T) {
734735
}
735736

736737
func TestAccCloudflareRuleset_RateLimitScorePerPeriod(t *testing.T) {
738+
t.Skip(`'zone' is not a valid value for kind because exceeded maximum number of zone rulesets for phase http_ratelimit`)
737739
// Temporarily unset CLOUDFLARE_API_TOKEN if it is set as the WAF
738740
// service does not yet support the API tokens and it results in
739741
// misleading state error messages.
@@ -1982,6 +1984,7 @@ func TestAccCloudflareRuleset_Redirect(t *testing.T) {
19821984
}
19831985

19841986
func TestAccCloudflareRuleset_DynamicRedirect(t *testing.T) {
1987+
t.Skip(`'zone' is not a valid value for kind because exceeded maximum number of zone rulesets for phase http_ratelimit`)
19851988
rnd := utils.GenerateRandomResourceName()
19861989
zoneID := os.Getenv("CLOUDFLARE_ZONE_ID")
19871990
resourceName := "cloudflare_ruleset." + rnd
@@ -2011,6 +2014,7 @@ func TestAccCloudflareRuleset_DynamicRedirect(t *testing.T) {
20112014
}
20122015

20132016
func TestAccCloudflareRuleset_DynamicRedirectWithoutPreservingQueryString(t *testing.T) {
2017+
t.Skip(`'zone' is not a valid value for kind because exceeded maximum number of zone rulesets for phase http_ratelimit`)
20142018
rnd := utils.GenerateRandomResourceName()
20152019
zoneID := os.Getenv("CLOUDFLARE_ZONE_ID")
20162020
resourceName := "cloudflare_ruleset." + rnd

0 commit comments

Comments
 (0)