From f057caa8f7087d10980cf3c6211a045f0498f871 Mon Sep 17 00:00:00 2001 From: jackzhhuang Date: Mon, 9 Oct 2023 17:38:25 +0800 Subject: [PATCH] sleep 12 sec for waiting for the fs drops the lock --- network/tests/network_node_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/tests/network_node_test.rs b/network/tests/network_node_test.rs index e17b9e94ae..c70ef5af26 100644 --- a/network/tests/network_node_test.rs +++ b/network/tests/network_node_test.rs @@ -35,7 +35,7 @@ fn test_reconnected_peers() -> anyhow::Result<()> { // stop node2, node1's peers is empty node2.stop()?; - thread::sleep(Duration::from_secs(3)); + thread::sleep(Duration::from_secs(12)); loop { let network_state = block_on(async { node1_network.network_state().await })?; debug!("network_state: {:?}", network_state);