qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 06/32] tests/qmp-test: Test in-band command does


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 06/32] tests/qmp-test: Test in-band command doesn't overtake
Date: Mon, 2 Jul 2018 16:09:20 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 07/02/2018 11:21 AM, Markus Armbruster wrote:
Signed-off-by: Markus Armbruster <address@hidden>
---
  tests/qmp-test.c | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/tests/qmp-test.c b/tests/qmp-test.c
index b4e54e8970..3932901146 100644
--- a/tests/qmp-test.c
+++ b/tests/qmp-test.c
@@ -236,10 +236,12 @@ static void test_qmp_oob(void)
      /* OOB command overtakes slow in-band command */
      setup_blocking_cmd();
      send_cmd_that_blocks(qts, "ib-blocks-1");
+    qtest_async_qmp(qts, "{ 'execute': 'query-name', 'id': 'ib-quick-1' }");
      send_oob_cmd(qts, "oob-1");
      recv_cmd_id(qts, "oob-1");
      unblock_blocked_cmd();
      recv_cmd_id(qts, "ib-blocks-1");
+    recv_cmd_id(qts, "ib-quick-1");
      cleanup_blocking_cmd();

Nice improvement.

Reviewed-by: Eric Blake <address@hidden>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]