]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/migration: Tweek auto converge limits check
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 6 Mar 2023 15:26:12 +0000 (15:26 +0000)
committerThomas Huth <thuth@redhat.com>
Mon, 13 Mar 2023 08:01:00 +0000 (09:01 +0100)
commit1bfc8dde505f1e6a92697c52aa9b09e81b54c78f
tree8c15fcf2a05b1cb39134bc996d86d903fefe1d5a
parent29c8a9e31a982874ce4e2c15f2bf82d5f8dc3517
tests/migration: Tweek auto converge limits check

Thomas found an autoconverge test failure where the
migration completed before the autoconverge had kicked in.

To try and avoid this again:
  a) Reduce the usleep in test_migrate_auto_converge
    so that it should exit quicker when autoconverge kicks in
  b) Make the loop exit immediately rather than have the sleep
     when it does start autoconverge, otherwise the autoconverge
     might succeed during the sleep.
  c) Reduce inc_pct so auto converge happens more slowly
  d) Reduce the max-bandwidth in migrate_ensure_non_converge
    to make the ensure more ensure.

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