]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemuhotplugtest: detach: Add expected 'object-del' to disk-scsi-multipath case
authorPeter Krempa <pkrempa@redhat.com>
Thu, 23 Apr 2020 10:03:21 +0000 (12:03 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 27 Apr 2020 06:12:48 +0000 (08:12 +0200)
The test verifies unplug of a disk with the persistent reservations
helper. The 'object-del' used to remove the helper was not mentioned in
the list of expected commands.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemuhotplugtest.c

index 9a787f9d113fd2fee76343b28a9682c20eb082b4..628689d27ad787b47d5e25db227db701ff4f9a58 100644 (file)
@@ -763,7 +763,8 @@ mymain(void)
                    "human-monitor-command", HMP(""));
     DO_TEST_DETACH("base-live", "disk-scsi-multipath", false, false,
                    "device_del", QMP_DEVICE_DELETED("scsi0-0-0-0") QMP_OK,
-                   "human-monitor-command", HMP(""));
+                   "human-monitor-command", HMP(""),
+                   "object-del", QMP_OK);
 
     DO_TEST_ATTACH("base-live", "qemu-agent", false, true,
                    "chardev-add", QMP_OK,