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

Improve S3 Source Integration tests #382

Conversation

aindriu-aiven
Copy link
Contributor

@aindriu-aiven aindriu-aiven commented Jan 3, 2025

Increase performance of the S3 Integration tests by allowing the polling time to be dependent on the test and to take into account if their are more records left to be retrieved before waiting to collect the next batch of records.

This allows the consuming of messages to occur faster if additional messages are already waiting to be retrieved.
This allows different tests to allow a more subtle control of the time to wait before timing out. (previously all tests would wait the maximum 5 minutes even if only waiting for 5 messages from kafka)

This should save 2-3 minutes per Integration test run and allow on a failure run to save between 12-15 minutes on each test run.

…ing time to be depndent on the test and to take into account if their are more records left to be retrieved before waiting to collect the next batch of records

Signed-off-by: Aindriu Lavelle <[email protected]>
@aindriu-aiven aindriu-aiven requested review from a team as code owners January 3, 2025 08:38
Copy link
Contributor

@RyanSkraba RyanSkraba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks.

Copy link
Contributor

@muralibasani muralibasani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement.

@aindriu-aiven aindriu-aiven force-pushed the aindriu-aiven/integration-test-performance branch from a3a366b to 8267489 Compare January 3, 2025 10:57
Copy link
Contributor

@muralibasani muralibasani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@muralibasani muralibasani merged commit f6d3087 into Aiven-Open:s3-source-release Jan 3, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants