Skip to content

Commit

Permalink
ducktape: Fix topic recovery e2e test
Browse files Browse the repository at this point in the history
Fixes redpanda-data#5474 'Not all data is uploaded to S3 bucket'.
The problem is caused by the fact that we're generating huge number of
segments in this test (message size was 10000, and number of messages
was 100000). This commit decreases the message size to 5000 and
increases the timeout for upload to 10 minutes.
  • Loading branch information
Lazin committed Jul 29, 2022
1 parent 2eb441b commit 53c3e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/rptest/tests/e2e_topic_recovery_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def _restore_topic(self, topic_spec, overrides={}):
rpk.describe_topic_configs(topic)

@cluster(num_nodes=4)
@matrix(message_size=[10000],
@matrix(message_size=[5000],
num_messages=[100000],
recovery_overrides=[{}, {
'retention.bytes': 1024
Expand Down Expand Up @@ -143,7 +143,7 @@ def s3_has_all_data():

time.sleep(10)
wait_until(s3_has_all_data,
timeout_sec=300,
timeout_sec=600,
backoff_sec=5,
err_msg=f"Not all data is uploaded to S3 bucket")

Expand Down

0 comments on commit 53c3e2a

Please sign in to comment.