From 4b281ba051d8df84e1db2d8569ddaa9b34acbdc6 Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Fri, 7 Apr 2017 11:00:26 -0400 Subject: [PATCH] fixup tests --- builtin/providers/opc/import_instance_test.go | 9 +++++---- builtin/providers/opc/resource_ip_association_test.go | 2 +- .../providers/opc/resource_security_association_test.go | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/builtin/providers/opc/import_instance_test.go b/builtin/providers/opc/import_instance_test.go index e3bbcc32c..f31654443 100644 --- a/builtin/providers/opc/import_instance_test.go +++ b/builtin/providers/opc/import_instance_test.go @@ -25,10 +25,11 @@ func TestAccOPCInstance_importBasic(t *testing.T) { Config: testAccInstanceBasic(rInt), }, { - ResourceName: resourceName, - ImportState: true, - ImportStateVerify: true, - ImportStateIdPrefix: instanceName + "/", + ResourceName: resourceName, + ImportState: true, + ImportStateVerify: true, + ImportStateIdPrefix: instanceName + "/", + ImportStateVerifyIgnore: []string{"instance_attributes"}, }, }, }) diff --git a/builtin/providers/opc/resource_ip_association_test.go b/builtin/providers/opc/resource_ip_association_test.go index a00c72473..57ac22afb 100644 --- a/builtin/providers/opc/resource_ip_association_test.go +++ b/builtin/providers/opc/resource_ip_association_test.go @@ -82,7 +82,7 @@ resource "opc_compute_ip_reservation" "test" { } resource "opc_compute_ip_association" "test" { - vcable = "${opc_compute_instance.test.vcable_id}" + vcable = "${opc_compute_instance.test.vcable}" parent_pool = "ipreservation:${opc_compute_ip_reservation.test.name}" } ` diff --git a/builtin/providers/opc/resource_security_association_test.go b/builtin/providers/opc/resource_security_association_test.go index b933406d5..c657494c4 100644 --- a/builtin/providers/opc/resource_security_association_test.go +++ b/builtin/providers/opc/resource_security_association_test.go @@ -122,7 +122,7 @@ resource "opc_compute_instance" "test" { resource "opc_compute_security_association" "test" { name = "acc-test-sec-ass-%d" - vcable = "${opc_compute_instance.test.vcable_id}" + vcable = "${opc_compute_instance.test.vcable}" seclist = "${opc_compute_security_list.test.name}" } `