From d4586d4bcc60a75f14d9ae5c640c3eb04f47e319 Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Wed, 24 Oct 2018 22:19:54 -0500 Subject: [PATCH] test: remove TestHotplugRemoveMemory HotplugRemoveMemory require to do a qmp call, but unit test does not start a Qemu instance. Depends-on: github.com/kata-containers/tests#1007 Signed-off-by: Jose Carlos Venegas Munoz --- virtcontainers/qemu_test.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/virtcontainers/qemu_test.go b/virtcontainers/qemu_test.go index 001a38218..168c79125 100644 --- a/virtcontainers/qemu_test.go +++ b/virtcontainers/qemu_test.go @@ -344,21 +344,6 @@ func TestQemuQemuPath(t *testing.T) { assert.Equal(path, "") } -func TestHotplugRemoveMemory(t *testing.T) { - assert := assert.New(t) - - qemuConfig := newQemuConfig() - fs := &filesystem{} - q := &qemu{ - arch: &qemuArchBase{}, - config: qemuConfig, - storage: fs, - } - - _, err := q.hotplugRemoveDevice(&memoryDevice{0, 128}, memoryDev) - assert.Error(err) -} - func TestHotplugUnsupportedDeviceType(t *testing.T) { assert := assert.New(t)