Re: [PATCH] tests/qtest: Fix typo in multifd cancel test

2023-07-12 Thread Daniel P . Berrangé
On Tue, Jul 11, 2023 at 06:21:31PM -0300, Fabiano Rosas wrote:
> This wasn't noticed because the test is currently disabled.
> 
> Signed-off-by: Fabiano Rosas 
> Fixes: 02f56e3de ("tests/qtest: massively speed up migration-test")
> ---
>  tests/qtest/migration-test.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrangé 


> 
> diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c
> index efa8c729db..e256da1216 100644
> --- a/tests/qtest/migration-test.c
> +++ b/tests/qtest/migration-test.c
> @@ -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);
>  
> -- 
> 2.35.3
> 

With regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|




[PATCH] tests/qtest: Fix typo in multifd cancel test

2023-07-11 Thread Fabiano Rosas
This wasn't noticed because the test is currently disabled.

Signed-off-by: Fabiano Rosas 
Fixes: 02f56e3de ("tests/qtest: massively speed up migration-test")
---
 tests/qtest/migration-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c
index efa8c729db..e256da1216 100644
--- a/tests/qtest/migration-test.c
+++ b/tests/qtest/migration-test.c
@@ -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);
 
-- 
2.35.3