]> git.proxmox.com Git - mirror_qemu.git/commit
tests/qtest: replace wait_command() with qtest_qmp_assert_success
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 1 Jun 2023 16:13:43 +0000 (17:13 +0100)
committerJuan Quintela <quintela@redhat.com>
Fri, 2 Jun 2023 09:46:19 +0000 (11:46 +0200)
commitaca040695890fe67b44402fdb167809809946068
tree325d552c8397729bb73fc47c704dc6940b2b013a
parentcdf5ab55872438bb3996d2b2a439c3a7b7425aa3
tests/qtest: replace wait_command() with qtest_qmp_assert_success

Most usage of wait_command() is followed by qobject_unref(), which
is just a verbose re-implementation of qtest_qmp_assert_success().

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230601161347.1803440-7-berrange@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
tests/qtest/migration-helpers.c
tests/qtest/migration-helpers.h
tests/qtest/migration-test.c