From f1a1c3933267535d45e340543673fb0afe4ef1a0 Mon Sep 17 00:00:00 2001 From: Bo QIU <35757521+boqiu@users.noreply.github.com> Date: Tue, 27 Aug 2024 09:52:00 +0800 Subject: [PATCH] adjust sync timeout in py test (#171) --- tests/config/node_config.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/config/node_config.py b/tests/config/node_config.py index 192b954..ed53377 100644 --- a/tests/config/node_config.py +++ b/tests/config/node_config.py @@ -5,6 +5,16 @@ ZGS_CONFIG = { "confirmation_block_count": 1, "router": { "private_ip_enabled": True, + }, + "sync": { + "heartbeat_interval": "1s", + "peer_connect_timeout": "3s", + "peer_disconnect_timeout": "3s", + "peer_find_timeout": "3s", + "peer_chunks_download_timeout": "3s", + "auto_sync_idle_interval": "1s", + "sequential_find_peer_timeout": "10s", + "random_find_peer_timeout": "10s", } }