From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f68.google.com (mail-lf1-f68.google.com [209.85.167.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id DEFAA469719 for ; Fri, 28 Feb 2020 16:11:55 +0300 (MSK) Received: by mail-lf1-f68.google.com with SMTP id n30so2070709lfh.6 for ; Fri, 28 Feb 2020 05:11:55 -0800 (PST) From: Cyrill Gorcunov Date: Fri, 28 Feb 2020 16:11:51 +0300 Message-Id: <20200228131151.18996-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH] test: box-py/snapshot -- increase timeout List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Turenko Cc: tml Signed-off-by: Cyrill Gorcunov --- 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