Skip to content

Commit 2fccfa6

Browse files
refactor: add to all weekly tests
1 parent f6e85a3 commit 2fccfa6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/other_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/testhelper"
1010
)
1111

12-
var validRegionsBasicTest = []string{
12+
var validRegionsWeeklyTest = []string{
1313
"au-syd",
1414
"br-sao",
1515
"ca-tor",
@@ -34,7 +34,7 @@ func TestRunBasicExample(t *testing.T) {
3434
TerraformVars: map[string]interface{}{
3535
"access_tags": permanentResources["accessTags"],
3636
},
37-
Region: validRegionsBasicTest[rand.Intn(len(validRegions))],
37+
Region: validRegionsWeeklyTest[rand.Intn(len(validRegionsWeeklyTest))],
3838
})
3939
output, err := options.RunTestConsistency()
4040
assert.Nil(t, err, "This should not have errored")
@@ -48,7 +48,7 @@ func TestRunExistingResourcesExample(t *testing.T) {
4848
Testing: t,
4949
TerraformDir: "examples/existing-resources",
5050
Prefix: "kp-all-inc-exist",
51-
Region: validRegions[rand.Intn(len(validRegions))],
51+
Region: validRegionsWeeklyTest[rand.Intn(len(validRegionsWeeklyTest))],
5252
})
5353

5454
terraformVars := map[string]interface{}{

0 commit comments

Comments
 (0)