Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed setting up consumer for interruption test #11484

Merged
merged 1 commit into from
Jun 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tests/rptest/tests/simple_e2e_test.py
Original file line number Diff line number Diff line change
@@ -44,23 +44,23 @@ def test_consumer_interruption(self):
'''
This test validates if verifiable consumer is exiting early when consumed from unexpected offset
'''
# use small segment size to enable log eviction

self.start_redpanda(num_nodes=3)

spec = TopicSpec(partition_count=1, replication_factor=3)
self.client().create_topic(spec)
self.topic = spec.name

self.start_producer(1, throughput=10000)
self.start_producer(1, throughput=1000)
self.start_consumer(1)
self.await_startup()
#
# wait for at least 15000 records to be consumed
self.await_startup(min_records=15000)
self.client().delete_topic(spec.name)

self.client().create_topic(spec)
error = None
try:
self.run_validation(min_records=100000,
self.run_validation(min_records=30000,
producer_timeout_sec=300,
consumer_timeout_sec=300)
except AssertionError as e: