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 <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
Jose Carlos Venegas Munoz 2018-10-24 22:19:54 -05:00
parent 0d80202573
commit d4586d4bcc

View File

@ -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)