qemu-devel
[Top][All Lists]
Advanced

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

[PATCH 25/42] migration-test: We were not waiting for "target" to finish


From: Juan Quintela
Subject: [PATCH 25/42] migration-test: We were not waiting for "target" to finish
Date: Fri, 9 Jun 2023 00:49:26 +0200

This could create the problem that we start the "second" target before
the first one has removed the serial socket.

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 tests/qtest/migration-test.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c
index 9f86d9bc80..933000ad81 100644
--- a/tests/qtest/migration-test.c
+++ b/tests/qtest/migration-test.c
@@ -2432,6 +2432,8 @@ static void test_multifd_tcp_cancel(void)
     qtest_set_expected_status(to->qs, EXIT_FAILURE);
     qtest_wait_qemu(to->qs);
 
+    guest_destroy(to);
+
     args = (MigrateStart){
         .only_target = true,
     };
-- 
2.40.1




reply via email to

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