Skip to content

Commit

Permalink
tests: work around SI memory issue #6111
Browse files Browse the repository at this point in the history
This test will bad_alloc sometimes in docker if using
the original parallelism.  This is a redpanda bug, as
the parallelism wasn't terribly high.  It will be fixed
separately, but this commit stabilizes the test in the
meantime.

Related: #6111
  • Loading branch information
jcsp authored and pvsune committed Aug 24, 2022
1 parent fe22f00 commit 1aba860
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/rptest/tests/e2e_shadow_indexing_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ def test_create_or_delete_topics_while_busy(self):
msg_count = 500000 if self.redpanda.dedicated_nodes else 100000
timeout = 600

# This must be very low to avoid hitting bad_allocs:
# https://github.com/redpanda-data/redpanda/issues/6111
random_parallelism = 10 if self.redpanda.dedicated_nodes else 2

producer = KgoVerifierProducer(self.test_context, self.redpanda,
self.topic, msg_size, msg_count,
self.preallocated_nodes)
Expand All @@ -206,7 +210,8 @@ def test_create_or_delete_topics_while_busy(self):

rand_consumer = KgoVerifierRandomConsumer(self.test_context,
self.redpanda, self.topic,
msg_size, 100, 10,
msg_size, 100,
random_parallelism,
self.preallocated_nodes)

rand_consumer.start(clean=False)
Expand Down

0 comments on commit 1aba860

Please sign in to comment.