diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-06-28 11:54:32 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-07-05 09:33:58 +0200 |
commit | 6843ad8c034053487ca8755d13d18b7cc286b3d8 (patch) | |
tree | 6374e0073dd7ebe3eb427c035815d8816e248ff1 | |
parent | 8d4e897a99089995128b78b3c3e61beb4a8e2f23 (diff) | |
download | qemu-6843ad8c034053487ca8755d13d18b7cc286b3d8.zip qemu-6843ad8c034053487ca8755d13d18b7cc286b3d8.tar.gz qemu-6843ad8c034053487ca8755d13d18b7cc286b3d8.tar.bz2 |
tests: increase migration test converge downtime to 30 seconds
While 1 second might be enough to converge migration on a fast host,
this is not guaranteed, especially if using TLS in the tests without
hardware accelerated crypto available.
Increasing the downtime to 30 seconds should guarantee it can converge
in any sane scenario.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220628105434.295905-4-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r-- | tests/qtest/migration-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c index ac9e303..a54eff6 100644 --- a/tests/qtest/migration-test.c +++ b/tests/qtest/migration-test.c @@ -47,7 +47,7 @@ unsigned end_address; static bool uffd_feature_thread_id; /* A downtime where the test really should converge */ -#define CONVERGE_DOWNTIME 1000 +#define CONVERGE_DOWNTIME (1000 * 30) #if defined(__linux__) #include <sys/syscall.h> |