diff options
author | localghost <zkostrzewa@gmail.com> | 2017-06-15 23:12:48 +0200 |
---|---|---|
committer | localghost <zkostrzewa@gmail.com> | 2017-06-15 23:14:27 +0200 |
commit | ec5e7edfaa4023b1dbfaa05c0265a3d4e42df34c (patch) | |
tree | f9c8229cf85c6618d761b7b5c9904f8f308ad86f /libvirt | |
parent | c658e4449c0f47f013b0db17a72889e7237b7210 (diff) | |
download | terraform-provider-libvirt-ec5e7edfaa4023b1dbfaa05c0265a3d4e42df34c.tar terraform-provider-libvirt-ec5e7edfaa4023b1dbfaa05c0265a3d4e42df34c.tar.gz |
Set "custom" CPU mode in CPU acceptance test.
This is the default mode according to libvirt docs.
Diffstat (limited to 'libvirt')
-rw-r--r-- | libvirt/resource_libvirt_domain_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvirt/resource_libvirt_domain_test.go b/libvirt/resource_libvirt_domain_test.go index 942770d8..fba2d6da 100644 --- a/libvirt/resource_libvirt_domain_test.go +++ b/libvirt/resource_libvirt_domain_test.go @@ -330,7 +330,7 @@ func TestAccLibvirtDomain_Cpu(t *testing.T) { resource "libvirt_domain" "acceptance-test-domain" { name = "terraform-test" cpu { - mode = "host-passthrough" + mode = "custom" } }`) @@ -344,7 +344,7 @@ func TestAccLibvirtDomain_Cpu(t *testing.T) { Check: resource.ComposeTestCheckFunc( testAccCheckLibvirtDomainExists("libvirt_domain.acceptance-test-domain", &domain), resource.TestCheckResourceAttr( - "libvirt_domain.acceptance-test-domain", "cpu.mode", "host-passthrough"), + "libvirt_domain.acceptance-test-domain", "cpu.mode", "custom"), ), }, }, |