tests: use consistent bandwidth/downtime limits in migration tests
commit886dfe9db39ac9625dfa2da40b50a2e3534b5470
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 28 Jun 2022 10:54:33 +0000 (28 11:54 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 5 Jul 2022 07:33:58 +0000 (5 09:33 +0200)
tree4ce62ab94146181e0926438b74bd6cc2a3a17d09
parent6843ad8c034053487ca8755d13d18b7cc286b3d8
tests: use consistent bandwidth/downtime limits in migration tests

The different migration test cases are using a variety of settings
to ensure convergance/non-convergance. Introduce two helpers to
extra the common functionality and ensure consistency.

  * Non-convergance: 1ms downtime, 30mbs bandwidth
  * Convergance: 30s downtime, 1gbs bandwidth

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20220628105434.295905-5-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/migration-test.c