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

Continue refactoring of the test module #10553

Merged

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Sep 7, 2024

Type of change

  • Refactoring

Description

This PR continues the cleanup and refactoring of the test module:

  • It splits the TestUtils into 3 different classes:
    • CrdUtils class with the methods and fields for working with CRDs
    • ReadWriteUtils for reading and writing various files and converting them tot he right types
    • The original TestUtils with the rest of the methods and fields that did not fit the other classes
  • It tries to consolidate the methods, remove duplicates and keep really generic shared methods
  • It adds Javadocs and enables the Javadoc validation for the test module

There are few more TODOs -> if this PR is approved, I will open issues to track them.

Checklist

  • Make sure all tests pass

@scholzj scholzj added this to the 0.44.0 milestone Sep 7, 2024
@scholzj scholzj requested a review from a team September 7, 2024 15:01
@scholzj
Copy link
Member Author

scholzj commented Sep 7, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member Author

scholzj commented Sep 7, 2024

/azp run upgrade

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member Author

scholzj commented Sep 7, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member Author

scholzj commented Sep 7, 2024

/azp run upgrade

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member Author

scholzj commented Sep 8, 2024

/azp run migration

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member Author

scholzj commented Sep 8, 2024

/azp run zookeeper-regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member Author

scholzj commented Sep 8, 2024

/azp run feature-gates-regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj scholzj merged commit 228a11b into strimzi:main Sep 9, 2024
43 checks passed
@scholzj scholzj deleted the continue-refactoring-of-the-test-module branch September 9, 2024 08:11
@scholzj
Copy link
Member Author

scholzj commented Sep 9, 2024

#10557 and #10556 opened for the follow-up work.

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