diff --git a/tests/other_test.go b/tests/other_test.go index 69998d8..1c3bf6f 100644 --- a/tests/other_test.go +++ b/tests/other_test.go @@ -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 } @@ -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{ diff --git a/tests/pr_test.go b/tests/pr_test.go index bea7dfa..9e746c8 100644 --- a/tests/pr_test.go +++ b/tests/pr_test.go @@ -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", @@ -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{ @@ -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{