From dd16077da2a77b20639353263bdda028e032b21c Mon Sep 17 00:00:00 2001 From: Callum Dunster Date: Thu, 24 Oct 2024 16:45:03 +0200 Subject: [PATCH] chore: increase TryCP test scenario duration to 30s in CI --- .github/workflows/test.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f447915..cc12c14 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -177,8 +177,8 @@ jobs: # Start a TryCP instance nix develop .#ci -c bash -c "source ./scripts/trycp.sh && start_trycp &" - # Run the scenario for 10 seconds - RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#trycp_write_validated -- --targets targets-ci.yaml --instances-per-target 2 --duration 10 --no-progress + # Run the scenario for 30 seconds + RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#trycp_write_validated -- --targets targets-ci.yaml --instances-per-target 2 --duration 30 --no-progress # Stop the TryCP instance nix develop .#ci -c bash -c "source ./scripts/trycp.sh && stop_trycp" @@ -194,8 +194,8 @@ jobs: # Start a TryCP instance nix develop .#ci -c bash -c "source ./scripts/trycp.sh && start_trycp &" - # Run the scenario for 10 seconds - RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#remote_call_rate -- --targets targets-ci.yaml --instances-per-target 2 --duration 10 --no-progress + # Run the scenario for 30 seconds + RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#remote_call_rate -- --targets targets-ci.yaml --instances-per-target 2 --duration 30 --no-progress # Stop the TryCP instance nix develop .#ci -c bash -c "source ./scripts/trycp.sh && stop_trycp" @@ -209,8 +209,8 @@ jobs: # Start a TryCP instance nix develop .#ci -c bash -c "source ./scripts/trycp.sh && start_trycp &" - # Run the scenario for 10 seconds - RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#two_party_countersigning -- --targets targets-ci.yaml --behaviour initiate:1 --behaviour participate:1 --instances-per-target 2 --duration 10 --no-progress + # Run the scenario for 30 seconds + RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#two_party_countersigning -- --targets targets-ci.yaml --behaviour initiate:1 --behaviour participate:1 --instances-per-target 2 --duration 30 --no-progress # Stop the TryCP instance nix develop .#ci -c bash -c "source ./scripts/trycp.sh && stop_trycp" @@ -226,8 +226,8 @@ jobs: # Start a TryCP instance nix develop .#ci -c bash -c "source ./scripts/trycp.sh && start_trycp &" - # Run the scenario for 10 seconds - RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#validation_receipts -- --targets targets-ci.yaml --instances-per-target 2 --duration 10 --no-progress + # Run the scenario for 30 seconds + RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#validation_receipts -- --targets targets-ci.yaml --instances-per-target 2 --duration 30 --no-progress # Stop the TryCP instance nix develop .#ci -c bash -c "source ./scripts/trycp.sh && stop_trycp" @@ -243,8 +243,8 @@ jobs: # Start a TryCP instance nix develop .#ci -c bash -c "source ./scripts/trycp.sh && start_trycp &" - # Run the scenario for 10 seconds - RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#remote_signals -- --targets targets-ci.yaml --instances-per-target 2 --duration 10 --no-progress + # Run the scenario for 30 seconds + RUST_LOG=warn CONDUCTOR_CONFIG="CI" MIN_PEERS=2 nix run .#remote_signals -- --targets targets-ci.yaml --instances-per-target 2 --duration 30 --no-progress # Stop the TryCP instance nix develop .#ci -c bash -c "source ./scripts/trycp.sh && stop_trycp"