On 01/06/2023 18.13, Daniel P. Berrangé wrote:
This function duplicates logic of qtest_qmp_assert_success_ref.
The qtest_qmp_assert_success_ref method has better diagnostics
on failure because it prints the entire QMP response, instead
of just asserting on existance of the 'error' key.

Reviewed-by: Juan Quintela <quint...@redhat.com>
Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---
  tests/qtest/migration-helpers.c | 22 ----------------------
  tests/qtest/migration-helpers.h |  3 ---
  tests/qtest/migration-test.c    | 29 +++++++++++++++--------------
  3 files changed, 15 insertions(+), 39 deletions(-)

Reviewed-by: Thomas Huth <th...@redhat.com>


Reply via email to