mirror of https://github.com/xemu-project/xemu.git
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
|
@ -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…
Reference in New Issue