Skip to content

Commit

Permalink
reconnect peer testing case use 12 seconds to wait the file sys close
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Oct 13, 2023
1 parent d7474ab commit 98b7bc8
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 98b7bc8

Please sign in to comment.