Skip to content

Commit

Permalink
fix: metal ports create timeout acc tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ayush Rangwala <[email protected]>
  • Loading branch information
aayushrangwala committed Sep 20, 2023
1 parent 140f5c0 commit 04f02f1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions equinix/resource_metal_port_acc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,16 @@ func TestAccMetalPortCreate_hybridBonded_timeout(t *testing.T) {
ImportStateIdFunc: testAccWaitForPortActive(deviceName, "bond0"),
ImportStatePersist: true,
},
{
ResourceName: "equinix_metal_port.bond0",
ImportState: true,
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr("equinix_metal_port.bond0", "network_type", "layer3"),
),
},
{
Config: confAccMetalPort_HybridBonded_timeout(rInt, rs, "5s", ""),
},
{
Config: confAccMetalPort_HybridBonded_timeout(rInt, rs, "5s", ""),
Destroy: true,
Expand Down

0 comments on commit 04f02f1

Please sign in to comment.