[tarantool-patches] [PATCH 1/1] test: fix swim test on a bit cluster failure detection

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu Apr 4 19:47:20 MSK 2019


It takes random time since SWIM uses random members selection
for each round step. Appeared, that in one of tests choosen time
was too small sometimes. Now it is fixed by just increasing
timeout, but one of forthcoming patches reworks that test in
order to make it faster.

Follow up for f510dc6f46a96d1ff9898519fd1c73167b38d655
---
No branch - already pushed.
No issue.

 test/unit/swim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit/swim.c b/test/unit/swim.c
index 32d223a7a..860d3211e 100644
--- a/test/unit/swim.c
+++ b/test/unit/swim.c
@@ -389,7 +389,7 @@ swim_test_too_big_packet(void)
 	 * Dissemination of a detected failure takes long time
 	 * without help of the component, intended for that.
 	 */
-	double timeout = size * 3;
+	double timeout = size * 10;
 	int i = 0;
 	for (; i < size; ++i) {
 		double start = swim_time();
-- 
2.17.2 (Apple Git-113)





More information about the Tarantool-patches mailing list