Skip to content

Commit 321cf7b

Browse files
committed
[ignore] Update to SDKv2. Fix expected error regex to match SDKv2 error descriptions.
1 parent 59054d1 commit 321cf7b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

mso/resource_mso_tenant_policies_route_map_policy_multicast_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func TestAccMSOTenantPoliciesMcastRouteMapPolicyResource(t *testing.T) {
3838
Config: testAccMSOTenantPoliciesMcastRouteMapPolicyConfigCreateWithInvalidOrder(),
3939
Destroy: false,
4040
PreventPostDestroyRefresh: true,
41-
ExpectError: regexp.MustCompile(`config is invalid: expected route_map_multicast_entries\.0\.order to be in the range \(0 - 65535\), got 65536`),
41+
ExpectError: regexp.MustCompile(`expected route_map_multicast_entries\.0\.order to be in the range \(0 - 65535\), got 65536`),
4242
},
4343
{
4444
PreConfig: func() { fmt.Println("Test: Update Route Map Policy for Multicast adding extra entry") },

mso/resource_ndo_schema_template_deploy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func TestAccNdoSchemaTemplateDeploy_Error(t *testing.T) {
1818
{
1919
PreConfig: func() { fmt.Println("Test: Cross-template VRF/BD dependency (expecting deployment error)") },
2020
Config: testAccMsoSchemaTemplateErrorCrossTemplateVrfBdConfig(),
21-
ExpectError: regexp.MustCompile(`^errors during apply: Error on deploy:`),
21+
ExpectError: regexp.MustCompile(`Error on deploy:`),
2222
},
2323
},
2424
})

0 commit comments

Comments
 (0)