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

functional tests: move client creation into a reusable function #2022

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

marktheunissen
Copy link
Contributor

@marktheunissen marktheunissen commented Nov 22, 2024

This PR removes a net 1324 lines of code by refactoring copy-paste boilerplate into a function.

I think we could trim an additional +-4000 lines out of this file with further work, however I just wanted to see if anyone is interested in these kinds of changes.

Better to make them incrementally rather than all at once, as it's easier to review the PRs for correctness.

  • Make the first fixture bucket into a reusable function?
  • A lot of the logging repetition can be removed, too?

Thoughts?

@harshavardhana harshavardhana merged commit 1f087a1 into minio:master Nov 22, 2024
5 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.

2 participants