From 4f3dc34916fc33dcf5cef866f65c57c43b2915fb Mon Sep 17 00:00:00 2001 From: scx1332 Date: Fri, 9 Feb 2024 19:22:21 +0100 Subject: [PATCH] fmt --- tests/custom_long.rs | 8 +++++++- tests/docker_01_basic/main.rs | 14 ++++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/tests/custom_long.rs b/tests/custom_long.rs index 9a720c83..36f424ec 100644 --- a/tests/custom_long.rs +++ b/tests/custom_long.rs @@ -19,5 +19,11 @@ async fn test_durability_custom() -> Result<(), anyhow::Error> { let transfer_interval = transfer_interval .parse::() .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 } diff --git a/tests/docker_01_basic/main.rs b/tests/docker_01_basic/main.rs index 0afee3b1..327688cb 100644 --- a/tests/docker_01_basic/main.rs +++ b/tests/docker_01_basic/main.rs @@ -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 }