]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/qtest: Fix typo in multifd cancel test
authorFabiano Rosas <farosas@suse.de>
Tue, 11 Jul 2023 21:21:31 +0000 (18:21 -0300)
committerThomas Huth <thuth@redhat.com>
Tue, 18 Jul 2023 07:36:27 +0000 (09:36 +0200)
This wasn't noticed because the test is currently disabled.

Fixes: 02f56e3de ("tests/qtest: massively speed up migration-test")
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Message-Id: <20230711212131.2370-1-farosas@suse.de>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/migration-test.c

index efa8c729db7157ec8db56bf7f4a96cc5db69d5c0..e256da1216e7ede0c6f8a674573348fd8ba5a687 100644 (file)
@@ -2481,7 +2481,7 @@ static void test_multifd_tcp_cancel(void)
 
     migrate_qmp(from, uri, "{}");
 
-    migrate_wait_for_dirty_mem(from, to);
+    migrate_wait_for_dirty_mem(from, to2);
 
     migrate_ensure_converge(from);