mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-05 23:43:05 +00:00
increase iterations limit to 3k
This commit is contained in:
parent
a0e47ac12a
commit
d8e7fb1d95
@ -157,7 +157,7 @@ func TestStressHighThroughput10kPublish(t *testing.T) {
|
|||||||
|
|
||||||
Debug("Memory usage BEFORE sending => HeapAlloc: %d KB, RSS: %d KB", startHeapKB, startRSSKB)
|
Debug("Memory usage BEFORE sending => HeapAlloc: %d KB, RSS: %d KB", startHeapKB, startRSSKB)
|
||||||
|
|
||||||
totalMessages := 1100
|
totalMessages := 3000
|
||||||
pubsubTopic := DefaultPubsubTopic
|
pubsubTopic := DefaultPubsubTopic
|
||||||
|
|
||||||
for i := 0; i < totalMessages; i++ {
|
for i := 0; i < totalMessages; i++ {
|
||||||
@ -347,7 +347,7 @@ func TestStressLargePayloadEphemeralMessagesEndurance(t *testing.T) {
|
|||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
Debug("Before endurance test: HeapAlloc = %d KB, RSS = %d KB", startHeapKB, startRSSKB)
|
Debug("Before endurance test: HeapAlloc = %d KB, RSS = %d KB", startHeapKB, startRSSKB)
|
||||||
|
|
||||||
maxIterations := 1100
|
maxIterations := 3000
|
||||||
payloadSize := 100 * 1024
|
payloadSize := 100 * 1024
|
||||||
largePayload := make([]byte, payloadSize)
|
largePayload := make([]byte, payloadSize)
|
||||||
for i := range largePayload {
|
for i := range largePayload {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user