-
Notifications
You must be signed in to change notification settings - Fork 5
fix: prevent panics in KubeConflict #146
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
Conversation
348fa96 to
533d5e7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #146 +/- ##
==========================================
- Coverage 67.19% 66.79% -0.41%
==========================================
Files 23 23
Lines 3170 3186 +16
==========================================
- Hits 2130 2128 -2
- Misses 819 833 +14
- Partials 221 225 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tstirrat15
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
533d5e7 to
25933e4
Compare
|
Tests are now consistently failing :( |
| } else { | ||
| fmt.Println(err) | ||
| Expect(k8serrors.IsUnauthorized(err)).To(BeTrue()) | ||
| Expect(k8serrors.IsConflict(err) || k8serrors.IsUnauthorized(err)).To(BeTrue()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ecordell or @vroldanbet can you confirm whether this is OK?
vroldanbet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found the potential issue, requesting changes so this does not merge yet
magefiles/test.go
Outdated
| "-r", | ||
| "-vv", | ||
| "--fail-fast", | ||
| //"--until-it-fails", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps add a new mage command like E2EUntilItFails()?
|
See #148 |
|
merged via #148 |
Prevents this