fix data_source_network_interface test
This commit is contained in:
parent
4f66290ffc
commit
5c742572e4
|
@ -39,7 +39,6 @@ func TestAccOPCDataSourceNetworkInterface_sharedNetwork(t *testing.T) {
|
||||||
{
|
{
|
||||||
Config: testAccDataSourceNetworkInterfaceShared(rInt),
|
Config: testAccDataSourceNetworkInterfaceShared(rInt),
|
||||||
Check: resource.ComposeTestCheckFunc(
|
Check: resource.ComposeTestCheckFunc(
|
||||||
resource.TestCheckResourceAttr(resName, "model", "e1000"),
|
|
||||||
resource.TestCheckResourceAttr(resName, "nat.#", "1"),
|
resource.TestCheckResourceAttr(resName, "nat.#", "1"),
|
||||||
resource.TestCheckResourceAttr(resName, "shared_network", "true"),
|
resource.TestCheckResourceAttr(resName, "shared_network", "true"),
|
||||||
resource.TestCheckResourceAttr(resName, "sec_lists.#", "1"),
|
resource.TestCheckResourceAttr(resName, "sec_lists.#", "1"),
|
||||||
|
@ -89,7 +88,6 @@ resource "opc_compute_instance" "test" {
|
||||||
tags = ["tag1", "tag2"]
|
tags = ["tag1", "tag2"]
|
||||||
networking_info {
|
networking_info {
|
||||||
index = 0
|
index = 0
|
||||||
model = "e1000"
|
|
||||||
nat = ["ippool:/oracle/public/ippool"]
|
nat = ["ippool:/oracle/public/ippool"]
|
||||||
shared_network = true
|
shared_network = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue