Revert "tests/migration: Reduce autoconverge initial bandwidth"
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Jun 2020 16:26:55 +0000 (12:26 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Jul 2020 09:54:58 +0000 (05:54 -0400)
This reverts commit 6d1da867e65f ("tests/migration: Reduce autoconverge initial bandwidth")
since that change makes unit tests much slower for all developers, while it's not
a robust way to fix migration tests. Migration tests need to find
a more robust way to discover a reasonable bandwidth without slowing
things down for everyone.

Fixes: 6d1da867e65f ("tests/migration: Reduce autoconverge initial bandwidth")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
tests/qtest/migration-test.c

index dc3490c9fadb933a76f67c74d6e99e36d2317341..21ea5ba1d283caaaa4c729467ff5bfad920bfe13 100644 (file)
@@ -1211,7 +1211,7 @@ static void test_migrate_auto_converge(void)
      * without throttling.
      */
     migrate_set_parameter_int(from, "downtime-limit", 1);
-    migrate_set_parameter_int(from, "max-bandwidth", 1000000); /* ~1Mb/s */
+    migrate_set_parameter_int(from, "max-bandwidth", 100000000); /* ~100Mb/s */
 
     /* To check remaining size after precopy */
     migrate_set_capability(from, "pause-before-switchover", true);