increase iterations limit to 3k

This commit is contained in:
aya 2025-04-09 00:51:39 +02:00
parent a0e47ac12a
commit d8e7fb1d95

View File

@ -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 {