Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/other_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ func setupOptions(t *testing.T, prefix string, dir string) *testhelper.TestOptio
Prefix: prefix,
ResourceGroup: resourceGroup,
Region: validRegions[rand.Intn(len(validRegions))],
IgnoreUpdates: testhelper.Exemptions{ // Ignore for consistency check
List: IgnoreUpdates,
},
})
return options
}
Expand Down Expand Up @@ -54,6 +57,9 @@ func TestRunAdvancedExampleInSchematics(t *testing.T) {
Tags: []string{"test-schematic"},
DeleteWorkspaceOnFail: false,
WaitJobCompleteMinutes: 60,
IgnoreUpdates: testhelper.Exemptions{ // Ignore for consistency check
List: IgnoreUpdates,
},
})

options.TerraformVars = []testschematic.TestSchematicTerraformVar{
Expand Down
9 changes: 9 additions & 0 deletions tests/pr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ const AccountSettingsDADir = "solutions/metrics-routing-account-settings"
var IgnoreUpdates = []string{
"module.metrics_routing[0].ibm_metrics_router_settings.metrics_router_settings[0]",
}
var IgnoreUpdatesAccountSettings = []string{
"module.metrics_router_account_settings.ibm_metrics_router_settings.metrics_router_settings[0]",
}

var validRegions = []string{
"au-syd",
Expand Down Expand Up @@ -148,6 +151,9 @@ func TestRunUpgradeFullyConfigurable(t *testing.T) {
Tags: []string{"test-schematic"},
DeleteWorkspaceOnFail: false,
WaitJobCompleteMinutes: 60,
IgnoreUpdates: testhelper.Exemptions{ // Ignore for consistency check
List: IgnoreUpdates,
},
})

options.TerraformVars = []testschematic.TestSchematicTerraformVar{
Expand Down Expand Up @@ -200,6 +206,9 @@ func TestRunAccountSettings(t *testing.T) {
Tags: []string{"mr-da-test"},
DeleteWorkspaceOnFail: false,
WaitJobCompleteMinutes: 60,
IgnoreUpdates: testhelper.Exemptions{ // Ignore for consistency check
List: IgnoreUpdatesAccountSettings,
},
})

options.TerraformVars = []testschematic.TestSchematicTerraformVar{
Expand Down