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>
This commit is contained in:
Daniel P. Berrangé 2022-06-28 11:54:32 +01:00 committed by Thomas Huth
parent 8d4e897a99
commit 6843ad8c03
1 changed files with 1 additions and 1 deletions

View File

@ -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>