[Tarantool-patches] [PATCH] test: box-py/snapshot -- increase timeout
Cyrill Gorcunov
gorcunov at gmail.com
Fri Feb 28 16:11:51 MSK 2020
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
test/box-py/snapshot.test.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/test/box-py/snapshot.test.py b/test/box-py/snapshot.test.py
index 2bfb8f621..f7e69be6b 100644
--- a/test/box-py/snapshot.test.py
+++ b/test/box-py/snapshot.test.py
@@ -57,7 +57,11 @@ snapshot = os.path.join(os.path.join(server.vardir, server.name), snapshot)
iteration = 0
-MAX_ITERATIONS = 100
+#
+# Lets wait for 2 minutes to complete checkpoint process,
+# the OS may be loaded too much, we already got cases when
+# the test doesn't pass due to timeouts.
+MAX_ITERATIONS = 12000
while not os.access(snapshot, os.F_OK) and iteration < MAX_ITERATIONS:
if iteration % 10 == 0:
os.kill(pid, SIGUSR1)
--
2.20.1
More information about the Tarantool-patches
mailing list