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

Refactor last fabric8 integration test package (1) #1824

Merged
merged 43 commits into from
Jan 7, 2025

Conversation

wind57
Copy link
Contributor

@wind57 wind57 commented Dec 20, 2024

No description provided.

@wind57 wind57 marked this pull request as ready for review December 20, 2024 21:13
@wind57
Copy link
Contributor Author

wind57 commented Dec 20, 2024

@ryanjbaxter this refactors the last fabric8 package in integration tests. As usual, I have not changed the scenarios at all, just refactored and removed overlapping tests. Thank you

@ryanjbaxter
Copy link
Contributor

Thanks! I am on vacation until January 6th, I will take a look when I get back

@wind57 wind57 changed the title Refactor integration tests 4 Refactor last fabric8 integration test package (1) Dec 21, 2024
secrets:
enabled: true
enable-api: true

# otherwise we can't refresh in the test
main:
Copy link
Contributor

Choose a reason for hiding this comment

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

If you didn't change the tests I am curious as to why we need to add this now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good eye! as usual :) so this has eaten the most of the time when I refactored this one. Initially, this property exists in the @TestPropertySource, but after I refresh, this one is "lost". In the previous test we used to shutdown and now we refresh (shutdown would not work with this kind of refactor). Since it is lost, the test would fail, thus I need it "again", after the refresh is called. I hope it makes sense

@ryanjbaxter
Copy link
Contributor

And this should only go into main? I thought the others went into 3.1.x as well

@wind57 wind57 changed the base branch from main to 3.1.x January 6, 2025 22:00
@wind57
Copy link
Contributor Author

wind57 commented Jan 6, 2025

you're right, my bad. changed to 3.1.x and it was a clean switch, without any additional files

@ryanjbaxter ryanjbaxter added this to the 3.1.5 milestone Jan 6, 2025
@ryanjbaxter ryanjbaxter merged commit 7831b62 into spring-cloud:3.1.x Jan 7, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants