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

Fix 2.9 tests #164

Merged
merged 5 commits into from
Jul 5, 2024
Merged

Fix 2.9 tests #164

merged 5 commits into from
Jul 5, 2024

Conversation

sbulage
Copy link
Collaborator

@sbulage sbulage commented Jul 2, 2024

Problem: Current 2.9 CI is failing for correctDrift test cases (79,80). The reason for failure is ConfigMap is getting deleted but service is not being removed rather it is being re-created. This behavior is observed after GitRepo deletion.

Solution: Used individual paths to ConfigMaps and Services so GitRepo will not install both applications simultaneously. Also, their deletion will be performed separately.

Changes made in the PR: Path is added to individual tests, Removed extra indentation.

While investigating this I found problem: Bundle is not getting removed after deleting GitRepo when multiple paths are used. (rancher/fleet#2586)

@sbulage sbulage added the automation Add or update automation label Jul 2, 2024
@sbulage sbulage self-assigned this Jul 2, 2024
@sbulage
Copy link
Collaborator Author

sbulage commented Jul 2, 2024

@mmartin24
Copy link
Collaborator

Sorry, but not sure I understand what is being fixed here.

Fleet-80 does not fail in normal ci today: UI-RM_head_2.9 #331
Fleet-79 still fails after this pr on the run posted above.

@sbulage
Copy link
Collaborator Author

sbulage commented Jul 3, 2024

@mmartin24
Copy link
Collaborator

Sorry, but not sure I understand what is being fixed here.

Fleet-80 does not fail in normal ci today: UI-RM_head_2.9 #331 Fleet-79 still fails after this pr on the run posted above.

FTR, after understanding the issue and discussing offline I understood the test failed due to a legit bug; therefore it seems nice to leave as it is so it can capture when it is fixed and perhaps simply add a check to ensure services are deleted propperly

@sbulage
Copy link
Collaborator Author

sbulage commented Jul 3, 2024

@sbulage sbulage requested review from mmartin24 and thehejik July 4, 2024 09:41
@sbulage
Copy link
Collaborator Author

sbulage commented Jul 5, 2024

Thanks @mmartin24 for nice suggestions 👍

@sbulage
Copy link
Collaborator Author

sbulage commented Jul 5, 2024

Copy link
Collaborator

@mmartin24 mmartin24 left a comment

Choose a reason for hiding this comment

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

LGTM

@sbulage sbulage merged commit bfc644b into main Jul 5, 2024
5 of 6 checks passed
@sbulage sbulage deleted the fix-2.9_tests branch July 5, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation Add or update automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants