From c28b1002332140e4fbf08aa970aef409f71af170 Mon Sep 17 00:00:00 2001 From: stack72 Date: Mon, 11 Jul 2016 16:15:28 +0100 Subject: [PATCH] provider/vsphere: Fix the `vsphere_virtual_machine` tests The PR that was merged to add `keep_on_destroy` was showing a green build so was merged but that build happened before another merge adding another parameter to the tests FYI @dkalleg - fixes #7169 --- .../vsphere/resource_vsphere_virtual_machine_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/vsphere/resource_vsphere_virtual_machine_test.go b/builtin/providers/vsphere/resource_vsphere_virtual_machine_test.go index 4ebeab093e..3c063d0063 100644 --- a/builtin/providers/vsphere/resource_vsphere_virtual_machine_test.go +++ b/builtin/providers/vsphere/resource_vsphere_virtual_machine_test.go @@ -1183,7 +1183,7 @@ func TestAccVSphereVirtualMachine_keepOnRemove(t *testing.T) { } vmName := "vsphere_virtual_machine.keep_disk" - test_exists, test_name, test_cpu, test_mem, test_num_disk, test_num_of_nic, test_nic_label := + test_exists, test_name, test_cpu, test_uuid, test_mem, test_num_disk, test_num_of_nic, test_nic_label := TestFuncData{vm: vm, label: basic_vars.label, vmName: vmName, numDisks: "2"}.testCheckFuncBasic() log.Printf("[DEBUG] template= %s", testAccCheckVSphereVirtualMachineConfig_keepOnRemove) @@ -1197,7 +1197,7 @@ func TestAccVSphereVirtualMachine_keepOnRemove(t *testing.T) { resource.TestStep{ Config: config, Check: resource.ComposeTestCheckFunc( - test_exists, test_name, test_cpu, test_mem, test_num_disk, test_num_of_nic, test_nic_label, + test_exists, test_name, test_cpu, test_uuid, test_mem, test_num_disk, test_num_of_nic, test_nic_label, ), }, resource.TestStep{