From d964b3e017958a6865ebe5ecf588138262deffd4 Mon Sep 17 00:00:00 2001 From: aya Date: Sat, 17 May 2025 23:51:19 +0300 Subject: [PATCH] Add all 8 tests to yml file & increase iterations --- .github/workflows/CI_endurance.yml | 2 +- waku/stress_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI_endurance.yml b/.github/workflows/CI_endurance.yml index 16a8fe6..b4eebf6 100644 --- a/.github/workflows/CI_endurance.yml +++ b/.github/workflows/CI_endurance.yml @@ -89,7 +89,7 @@ jobs: shell: bash run: | set -euo pipefail - go test -p=1 -v ./waku -count=1 -timeout=360m -run '^(TestStressRandomNodesInMesh|TestStress2Nodes2kIterationTearDown|TestPeerExchangePXLoad)$' | tee testlogs2.log + go test -p=1 -v ./waku -count=1 -timeout=360m -run '^(TestStressRandomNodesInMesh|TestStress2Nodes2kIterationTearDown|TestPeerExchangePXLoad|TestStressConnectDisconnect1kIteration)$' | tee testlogs2.log - name: Upload Test Logs (Group 2) uses: actions/upload-artifact@v4 diff --git a/waku/stress_test.go b/waku/stress_test.go index f9f1000..97ff876 100644 --- a/waku/stress_test.go +++ b/waku/stress_test.go @@ -86,7 +86,7 @@ func TestStressStoreQuery5kMessagesWithPagination(t *testing.T) { }() - iterations := 4000 + iterations := 10000 captureMemory(t.Name(), "at start") @@ -137,7 +137,7 @@ func TestStressHighThroughput10kPublish(t *testing.T) { captureMemory(t.Name(), "at start") - const totalMessages = 1200 + const totalMessages = 5000 var pubsubTopic = DefaultPubsubTopic for i := 0; i < totalMessages; i++ {