From 58c5965905bd43194fd85b5a680e56118c0279d4 Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 13 Oct 2020 11:46:18 +1030 Subject: [PATCH] Fix tests. --- tests/compute/qemu/test_qemu_vm.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/compute/qemu/test_qemu_vm.py b/tests/compute/qemu/test_qemu_vm.py index e3f1816b..b31c16fb 100644 --- a/tests/compute/qemu/test_qemu_vm.py +++ b/tests/compute/qemu/test_qemu_vm.py @@ -523,7 +523,7 @@ async def test_build_command(vm, fake_qemu_binary): "-m", "256M", "-smp", - "cpus=1,maxcpus=1", + "cpus=1,maxcpus=1,sockets=1", "-boot", "order=c", "-uuid", @@ -575,7 +575,7 @@ async def test_build_command_kvm(linux_platform, vm, fake_qemu_binary): "-m", "256M", "-smp", - "cpus=1,maxcpus=1", + "cpus=1,maxcpus=1,sockets=1", "-enable-kvm", "-boot", "order=c", @@ -612,7 +612,7 @@ async def test_build_command_kvm_2_4(linux_platform, vm, fake_qemu_binary): "-m", "256M", "-smp", - "cpus=1,maxcpus=1", + "cpus=1,maxcpus=1,sockets=1", "-enable-kvm", "-machine", "smm=off", @@ -660,7 +660,7 @@ async def test_build_command_two_adapters(vm, fake_qemu_binary): "-m", "256M", "-smp", - "cpus=1,maxcpus=1", + "cpus=1,maxcpus=1,sockets=1", "-boot", "order=c", "-uuid",