mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
tests/qtest: migration-test: Make sure QEMU process "to" exited after migration is canceled
Make sure QEMU process "to" exited before launching another target for migration in the test_multifd_tcp_cancel case. Signed-off-by: Xuzhou Cheng <xuzhou.cheng@windriver.com> Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20221028045736.679903-8-bin.meng@windriver.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
69c056fbc0
commit
f2d063e61e
1 changed files with 4 additions and 0 deletions
|
@ -2141,6 +2141,10 @@ static void test_multifd_tcp_cancel(void)
|
|||
|
||||
migrate_cancel(from);
|
||||
|
||||
/* Make sure QEMU process "to" exited */
|
||||
qtest_set_expected_status(to, EXIT_FAILURE);
|
||||
qtest_wait_qemu(to);
|
||||
|
||||
args = (MigrateStart){
|
||||
.only_target = true,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue