From 50cbf2dfe36823ccb19b36ca392d6b30de7cc68c Mon Sep 17 00:00:00 2001
From: Dmitry Rodionov <d.rodionov@picodata.io>
Date: Sat, 14 Dec 2024 01:04:26 +0300
Subject: [PATCH] test: increase timeout in test_restart_both

Close: https://git.picodata.io/core/picodata/-/issues/1032
---
 test/int/test_couple.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/int/test_couple.py b/test/int/test_couple.py
index 56928be131..9b0c38e09a 100644
--- a/test/int/test_couple.py
+++ b/test/int/test_couple.py
@@ -91,10 +91,10 @@ def test_restart_both(cluster2: Cluster):
     # This synchronization is necessary for proper test case reproducing.
     # i1 has already initialized raft node but can't win election yet
     # i2 starts discovery and should be able to advance further
-    Retriable(timeout=2, rps=10).call(check_alive, i1)
+    Retriable(timeout=10, rps=10).call(check_alive, i1)
 
     i2.start()
-    Retriable(timeout=2, rps=10).call(check_alive, i2)
+    Retriable(timeout=10, rps=10).call(check_alive, i2)
 
     # Speed up elections
     i2.promote_or_fail()
-- 
GitLab