tests: increase migration test converge downtime to 30 seconds
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 28 Jun 2022 10:54:32 +0000 (11:54 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 5 Jul 2022 07:33:58 +0000 (09:33 +0200)
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>
tests/qtest/migration-test.c

index ac9e303b1f17a618b848bde477abf9521eda1256..a54eff6d560abe2246a26deccc4f1ce69658b170 100644 (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>