Skip to content

Commit

Permalink
sleep 12 sec for waiting for the fs drops the lock
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Oct 9, 2023
1 parent 19d4e15 commit f057caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/tests/network_node_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f057caa

Please sign in to comment.