mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-04 11:06:21 +00:00
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:
parent
0d80202573
commit
d4586d4bcc
@ -344,21 +344,6 @@ func TestQemuQemuPath(t *testing.T) {
|
|||||||
assert.Equal(path, "")
|
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) {
|
func TestHotplugUnsupportedDeviceType(t *testing.T) {
|
||||||
assert := assert.New(t)
|
assert := assert.New(t)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user