Skip to content

Commit

Permalink
test: bump sleep time to 20s
Browse files Browse the repository at this point in the history
  • Loading branch information
grumbach committed Jul 29, 2024
1 parent 9fe6f44 commit 41193e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sn_node/tests/double_spend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ async fn parent_and_child_double_spends_should_lead_to_cashnote_being_invalid()
info!("Got result while verifying double spend from B -> Y: {result:?}");

// sleep for a bit to allow the network to process and accumulate the double spend
tokio::time::sleep(Duration::from_secs(10)).await;
tokio::time::sleep(Duration::from_secs(20)).await;

assert_matches!(result, Err(WalletError::CouldNotVerifyTransfer(str)) => {
assert!(str.starts_with("Network Error Double spend(s) was detected"));
Expand Down

0 comments on commit 41193e0

Please sign in to comment.