Otherwise we do the 1st migration iteration at a too slow speed. Signed-off-by: Juan Quintela <quint...@redhat.com> --- tests/qtest/migration-test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c index 3b615b0da9..7b05b0b7dd 100644 --- a/tests/qtest/migration-test.c +++ b/tests/qtest/migration-test.c @@ -1348,6 +1348,7 @@ static void test_precopy_common(MigrateCommon *args) migrate_qmp(from, args->connect_uri, "{}"); } + migrate_ensure_converge(from); if (args->result != MIG_TEST_SUCCEED) { bool allow_active = args->result == MIG_TEST_FAIL; @@ -1365,8 +1366,6 @@ static void test_precopy_common(MigrateCommon *args) wait_for_migration_pass(from); } - migrate_ensure_converge(from); - /* We do this first, as it has a timeout to stop us * hanging forever if migration didn't converge */ wait_for_migration_complete(from); -- 2.39.2