The dirty_limit test does two migrations in a row and is leaking the first 'to' instance. Do proper cleanup.
Signed-off-by: Fabiano Rosas <faro...@suse.de> --- tests/qtest/migration-test.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c index 74d3000198..c3d54f1236 100644 --- a/tests/qtest/migration-test.c +++ b/tests/qtest/migration-test.c @@ -3682,6 +3682,11 @@ static void test_migrate_dirty_limit(void) migrate_cancel(from); wait_for_migration_status(from, "cancelled", NULL); + /* destination always fails after cancel */ + migration_event_wait(to, "failed"); + qtest_set_expected_status(to, EXIT_FAILURE); + qtest_quit(to); + /* Check if dirty limit throttle switched off, set timeout 1ms */ do { throttle_us_per_full = -- 2.35.3