diff options
| author | Dr. David Alan Gilbert | 2019-09-23 15:10:22 +0200 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2019-09-25 16:51:19 +0200 |
| commit | 513aa2c6faf1cd9ea407264d73173e43cc9fde82 (patch) | |
| tree | 02bf9b8c078d3f23f2dec5267845c5e8023f2e07 /tests | |
| parent | tests/migration: Fail on unexpected migration states (diff) | |
| download | qemu-513aa2c6faf1cd9ea407264d73173e43cc9fde82.tar.gz qemu-513aa2c6faf1cd9ea407264d73173e43cc9fde82.tar.xz qemu-513aa2c6faf1cd9ea407264d73173e43cc9fde82.zip | |
tests/migration/postcopy: trim migration bandwidth
On slow hosts with tcg we were sometimes finding that the migration
would complete during precopy and never get into the postcopy test.
Trim back the bandwidth a bit to make that much less likely.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190923131022.15498-3-dgilbert@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Cleber Rosa <crosa@redhat.com>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/migration-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migration-test.c b/tests/migration-test.c index 9c62ee5331..221a33d083 100644 --- a/tests/migration-test.c +++ b/tests/migration-test.c @@ -753,7 +753,7 @@ static int migrate_postcopy_prepare(QTestState **from_ptr, * quickly, but that it doesn't complete precopy even on a slow * machine, so also set the downtime. */ - migrate_set_parameter_int(from, "max-bandwidth", 100000000); + migrate_set_parameter_int(from, "max-bandwidth", 30000000); migrate_set_parameter_int(from, "downtime-limit", 1); /* Wait for the first serial output from the source */ |
