[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/5] tests: increase migration test converge downtime to 30 secon
From: |
Daniel P . Berrangé |
Subject: |
[PATCH 3/5] tests: increase migration test converge downtime to 30 seconds |
Date: |
Tue, 28 Jun 2022 11:54:32 +0100 |
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>
---
tests/qtest/migration-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c
index ac9e303b1f..a54eff6d56 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>
--
2.36.1
- [PATCH 0/5] tests: improve reliability of migration test, Daniel P . Berrangé, 2022/06/28
- [PATCH 1/5] tests: wait max 120 seconds for migration test status changes, Daniel P . Berrangé, 2022/06/28
- [PATCH 2/5] tests: wait for migration completion before looking for STOP event, Daniel P . Berrangé, 2022/06/28
- [PATCH 3/5] tests: increase migration test converge downtime to 30 seconds,
Daniel P . Berrangé <=
- [PATCH 4/5] tests: use consistent bandwidth/downtime limits in migration tests, Daniel P . Berrangé, 2022/06/28
- [RFC PATCH 5/5] tests: stop skipping migration test on s390x/ppc64, Daniel P . Berrangé, 2022/06/28
- Re: [PATCH 0/5] tests: improve reliability of migration test, Thomas Huth, 2022/06/28