Skip to content

Commit d8a3b30

Browse files
committed
nic test resource
1 parent c742f49 commit d8a3b30

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

internal/provider/tests/acceptance/hypercore_nic_resource_acc_test.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ func TestAccHypercoreNicResource(t *testing.T) {
2626
resource.TestCheckResourceAttr("hypercore_nic.test", "type", "VIRTIO"),
2727
),
2828
},
29-
{
30-
Config: testAccHypercoreNicResourceConfig(),
31-
Check: resource.ComposeAggregateTestCheckFunc(
32-
resource.TestCheckResourceAttr("hypercore_nic.testa", "vlan", "12"),
33-
resource.TestCheckResourceAttr("hypercore_nic.testa", "type", "VIRTIO"),
34-
),
35-
},
3629
},
3730
})
3831
}
@@ -54,13 +47,3 @@ output "vm_id" {
5447
}
5548
`, source_vm_uuid, source_vm_name)
5649
}
57-
58-
func testAccHypercoreNicResourceConfig() string {
59-
return `
60-
resource "hypercore_nic" "testa" {
61-
vm_uuid = "${output.vm_id}"
62-
vlan = 12
63-
type = "VIRTIO"
64-
}
65-
`
66-
}

0 commit comments

Comments
 (0)