File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1006,8 +1006,6 @@ func TestAccIAMRole_Identity_ExistingResource_NoRefresh(t *testing.T) {
10061006 Check : resource .ComposeAggregateTestCheckFunc (
10071007 testAccCheckRoleExists (ctx , resourceName , & conf ),
10081008 ),
1009- // No error indicates the identity interceptor properly identified
1010- // a fully null identity on update and set values appropriately.
10111009 },
10121010 },
10131011 })
@@ -1044,9 +1042,7 @@ func TestAccIAMRole_Identity_ExistingResource_NoRefreshFailure(t *testing.T) {
10441042 {
10451043 ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories ,
10461044 Config : testAccRoleConfig_invalidAssumeRolePolicy (rName ),
1047- // Caution: Finding this error, which should be found, hides MRIAU
1048- // (Missing Resource Identity After Update) errors.
1049- ExpectError : regexache .MustCompile (`MalformedPolicyDocument: Unknown field invalid` ),
1045+ ExpectError : regexache .MustCompile (`MalformedPolicyDocument: Unknown field invalid` ),
10501046 },
10511047 },
10521048 })
Original file line number Diff line number Diff line change @@ -2153,8 +2153,6 @@ func TestAccS3Object_Identity_ExistingResource_NoRefresh(t *testing.T) {
21532153 Check : resource .ComposeAggregateTestCheckFunc (
21542154 testAccCheckObjectExists (ctx , resourceName , & obj ),
21552155 ),
2156- // We DON'T want this error.
2157- // ExpectError: regexache.MustCompile(`Missing Resource Identity After Update`),
21582156 },
21592157 },
21602158 })
You can’t perform that action at this time.
0 commit comments