Skip to content

Commit

Permalink
sleep -> fast_forward
Browse files Browse the repository at this point in the history
  • Loading branch information
miraclx committed Nov 22, 2024
1 parent 8bfcc1b commit e6ebc2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/context-config/tests/sandbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ async fn test_storage_usage_matches_code_size() -> eyre::Result<()> {
let expected_log = format!("Context `{}` added", context_id);
assert!(res.logs().iter().any(|log| log == &expected_log));

time::sleep(time::Duration::from_secs(1)).await;
worker.fast_forward(1).await?;

let node1_balance_after = worker.view_account(&node1.id()).await?.balance;

Expand Down Expand Up @@ -1220,7 +1220,7 @@ async fn test_storage_usage_matches_code_size() -> eyre::Result<()> {

assert!(res.failures().is_empty(), "{:#?}", res.failures());

time::sleep(time::Duration::from_secs(1)).await;
worker.fast_forward(1).await?;

let node1_balance_after = worker.view_account(&node1.id()).await?.balance;

Expand Down Expand Up @@ -1300,7 +1300,7 @@ async fn test_storage_usage_matches_code_size() -> eyre::Result<()> {

assert!(res.failures().is_empty(), "{:#?}", res.failures());

time::sleep(time::Duration::from_secs(1)).await;
worker.fast_forward(1).await?;

let node1_balance_after = worker.view_account(&node1.id()).await?.balance;

Expand Down

0 comments on commit e6ebc2b

Please sign in to comment.