Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions tests/other_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ 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: []string{
"module.metrics_routing[0].ibm_metrics_router_settings.metrics_router_settings[0]",
},
},
})
return options
}
Expand Down Expand Up @@ -54,6 +59,11 @@ func TestRunAdvancedExampleInSchematics(t *testing.T) {
Tags: []string{"test-schematic"},
DeleteWorkspaceOnFail: false,
WaitJobCompleteMinutes: 60,
IgnoreUpdates: testhelper.Exemptions{ // Ignore for consistency check
List: []string{
"module.metrics_routing[0].ibm_metrics_router_settings.metrics_router_settings[0]",
},
},
})

options.TerraformVars = []testschematic.TestSchematicTerraformVar{
Expand Down
14 changes: 13 additions & 1 deletion tests/pr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ func TestRunFullyConfigurable(t *testing.T) {
DeleteWorkspaceOnFail: false,
WaitJobCompleteMinutes: 60,
IgnoreUpdates: testhelper.Exemptions{ // Ignore for consistency check
List: IgnoreUpdates,
List: []string{
"module.metrics_routing[0].ibm_metrics_router_settings.metrics_router_settings[0]",
},
},
})

Expand Down Expand Up @@ -148,6 +150,11 @@ func TestRunUpgradeFullyConfigurable(t *testing.T) {
Tags: []string{"test-schematic"},
DeleteWorkspaceOnFail: false,
WaitJobCompleteMinutes: 60,
IgnoreUpdates: testhelper.Exemptions{ // Ignore for consistency check
List: []string{
"module.metrics_routing[0].ibm_metrics_router_settings.metrics_router_settings[0]",
},
},
})

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

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