Skip to content

Commit

Permalink
[ignore] Split TestAccAciRestManaged_import into seperate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samiib committed May 16, 2024
1 parent 300b919 commit 0190fa0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions internal/provider/resource_aci_rest_managed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,17 @@ func TestAccAciRestManaged_import(t *testing.T) {
resource.TestCheckResourceAttr("aci_rest_managed.import", "child.#", "2"),
),
},
},
})
}

func TestAccAciRestManaged_importWithIpv6(t *testing.T) {
name := acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum)

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
ProtoV6ProviderFactories: testAccProtoV6ProviderFactories,
Steps: []resource.TestStep{
{
Config: testAccAciRestManagedConfig_importWithIpv6(name, "import", "2001:1:2::5/28", "2001:1:2::5/28"),
Check: resource.ComposeTestCheckFunc(
Expand Down Expand Up @@ -388,6 +399,17 @@ func TestAccAciRestManaged_import(t *testing.T) {
resource.TestCheckResourceAttr("aci_rest_managed.bd_import_2", "child.1.content.tnFvCtxName", "VRF2"),
),
},
},
})
}

func TestAccAciRestManaged_importWithBracket(t *testing.T) {
name := acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum)

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
ProtoV6ProviderFactories: testAccProtoV6ProviderFactories,
Steps: []resource.TestStep{
{
Config: testAccAciRestManagedConfig_importWithBracket(name),
Check: resource.ComposeTestCheckFunc(
Expand Down

0 comments on commit 0190fa0

Please sign in to comment.