-
Notifications
You must be signed in to change notification settings - Fork 354
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
test: fix failing Go TestResourceCreationFailed test #8918
Conversation
✅ Deploy Preview for determined-ui canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8918 +/- ##
==========================================
- Coverage 48.42% 47.17% -1.25%
==========================================
Files 743 1154 +411
Lines 136157 175073 +38916
Branches 2237 2237
==========================================
+ Hits 65929 82585 +16656
- Misses 70070 92330 +22260
Partials 158 158
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
||
message = sub.Get() | ||
require.IsType(t, &sproto.ContainerLog{}, message) | ||
require.Contains(t, *message.(*sproto.ContainerLog).AuxMessage, "already exists") |
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.
part of k8s improvements should definitely be improving these tests. this is really fragile.
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.
like I don't even know what this test is really testing anyway at this point, the error comes from our mock...
I don't know
They have just been like touched just enough so they pass on every change so I think they are basically meaningless at this point
Description
Fix failing test on main
https://app.circleci.com/pipelines/github/determined-ai/determined/51712/workflows/bdcbdfb7-e33a-4526-98d1-a261538687bd/jobs/2304253
Caused by
#8899
Test Plan
Intg passes
Commentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.
Ticket