Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Feb 9, 2024
1 parent 2e144ec commit 4f3dc34
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
8 changes: 7 additions & 1 deletion tests/custom_long.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,11 @@ async fn test_durability_custom() -> Result<(), anyhow::Error> {
let transfer_interval = transfer_interval
.parse::<f64>()
.expect("ERC20_TEST_TRANSFER_INTERVAL has to be number");
test_durability(accounts_count, transfer_count, transfer_interval, transfers_at_once).await
test_durability(
accounts_count,
transfer_count,
transfer_interval,
transfers_at_once,
)
.await
}
14 changes: 12 additions & 2 deletions tests/docker_01_basic/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,20 @@ mod single_gas_transfer;

#[tokio::test(flavor = "multi_thread")]
async fn test_durability_1() -> Result<(), anyhow::Error> {
test_durability(1, 0.1, 10).await
test_durability(1, 1, 0.1, 10).await
}

#[tokio::test(flavor = "multi_thread")]
async fn test_durability_20() -> Result<(), anyhow::Error> {
test_durability(20, 0.1, 10).await
test_durability(1, 20, 0.1, 10).await
}

#[tokio::test(flavor = "multi_thread")]
async fn test_durability_1_10() -> Result<(), anyhow::Error> {
test_durability(10, 1, 0.1, 10).await
}

#[tokio::test(flavor = "multi_thread")]
async fn test_durability_20_10() -> Result<(), anyhow::Error> {
test_durability(10, 20, 0.1, 10).await
}

0 comments on commit 4f3dc34

Please sign in to comment.