Skip to content

Commit

Permalink
test(netm): core net multi region pre check
Browse files Browse the repository at this point in the history
  • Loading branch information
GlennChia committed Feb 24, 2023
1 parent 3c800a1 commit 2c09586
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ func TestAccNetworkManagerCoreNetworkPolicyAttachment_vpcAttachmentMultiRegion(t
resourceName := "aws_networkmanager_core_network_policy_attachment.test"

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(t) },
PreCheck: func() {
acctest.PreCheck(t)
acctest.PreCheckMultipleRegion(t, 2)
},
ErrorCheck: acctest.ErrorCheck(t, networkmanager.EndpointsID),
ProtoV5ProviderFactories: acctest.ProtoV5FactoriesPlusProvidersAlternate(ctx, t, &providers),
CheckDestroy: testAccCheckCoreNetworkPolicyAttachmentDestroy(ctx),
Expand Down

0 comments on commit 2c09586

Please sign in to comment.