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

[ST] Remove storageMap from the suite #10440

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

im-konge
Copy link
Member

Type of change

  • Enhancement

Description

This PR removes storageMap from the last occurrences we have in our STs. Previously it was used for various things -> even during the tests to get the TestStorage object etc.
However, once the ResourceManager.getTestContext() was added and change to the TestStorage, this is not really needed.
The only place it can be useful is when we are getting start time for the test in the tearDownTestCase in the assertNoCoErrorsLogged, which is currently not used anyway. Just because of that it's not useful to keep the Map, is it can be done differently and take just the value from the extensionContext.

Additionally, for the other tests, some of the operations (like deletion of Jobs) is done now "automatically" or it can be done a little bit differently.

Checklist

  • Make sure all tests pass

@im-konge im-konge requested a review from a team August 12, 2024 13:01
@im-konge im-konge self-assigned this Aug 12, 2024
@im-konge im-konge added this to the 0.43.0 milestone Aug 12, 2024
Copy link
Contributor

@henryZrncik henryZrncik left a comment

Choose a reason for hiding this comment

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

Thanks for having a look on this!

Signed-off-by: Lukas Kral <[email protected]>
@im-konge
Copy link
Member Author

/packit test --labels regression

@im-konge
Copy link
Member Author

/azp run upgrade

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@im-konge
Copy link
Member Author

The failure in TF is not related to this PR - it's about OAuth and connection to Keycloak on aarch64 - which should be investigated in different PR.

@im-konge im-konge merged commit 4a249bd into strimzi:main Aug 13, 2024
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants