From d8e7fb1d954e4d44798b56a98bdbeb478c28c2d3 Mon Sep 17 00:00:00 2001 From: aya Date: Wed, 9 Apr 2025 00:51:39 +0200 Subject: [PATCH] increase iterations limit to 3k --- waku/stress_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waku/stress_test.go b/waku/stress_test.go index 1d01617..316a98b 100644 --- a/waku/stress_test.go +++ b/waku/stress_test.go @@ -157,7 +157,7 @@ func TestStressHighThroughput10kPublish(t *testing.T) { Debug("Memory usage BEFORE sending => HeapAlloc: %d KB, RSS: %d KB", startHeapKB, startRSSKB) - totalMessages := 1100 + totalMessages := 3000 pubsubTopic := DefaultPubsubTopic for i := 0; i < totalMessages; i++ { @@ -347,7 +347,7 @@ func TestStressLargePayloadEphemeralMessagesEndurance(t *testing.T) { require.NoError(t, err) Debug("Before endurance test: HeapAlloc = %d KB, RSS = %d KB", startHeapKB, startRSSKB) - maxIterations := 1100 + maxIterations := 3000 payloadSize := 100 * 1024 largePayload := make([]byte, payloadSize) for i := range largePayload {