From b734ec2a2d41404a6b948c1be347d6f4d0cb8d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Fran=C3=A7a?= Date: Tue, 17 Dec 2024 16:18:14 +0000 Subject: [PATCH] Smaller timeout for unit tests. --- core/node/consensus/src/testonly.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/node/consensus/src/testonly.rs b/core/node/consensus/src/testonly.rs index 4799bb26df86..dd67a1e637a5 100644 --- a/core/node/consensus/src/testonly.rs +++ b/core/node/consensus/src/testonly.rs @@ -149,7 +149,7 @@ fn make_config( public_addr: config::Host(cfg.public_addr.0.clone()), max_payload_size: usize::MAX, max_batch_size: usize::MAX, - view_timeout: usize::MAX, + view_timeout: 1000, gossip_dynamic_inbound_limit: cfg.gossip.dynamic_inbound_limit, gossip_static_inbound: cfg .gossip