-
Notifications
You must be signed in to change notification settings - Fork 153
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
Add tests for pipedv1 executor package #5303
Conversation
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5303 +/- ##
==========================================
+ Coverage 25.11% 25.22% +0.10%
==========================================
Files 444 444
Lines 47469 47470 +1
==========================================
+ Hits 11924 11976 +52
+ Misses 34604 34553 -51
Partials 941 941 ☔ View full report in Codecov by Sentry. |
|
||
for _, tc := range testcases { | ||
t.Run(tc.name, func(t *testing.T) { | ||
tc.got = DetermineStageStatus(tc.sig, tc.ori, tc.got) |
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.
tc.got = DetermineStageStatus(tc.sig, tc.ori, tc.got) | |
got := DetermineStageStatus(tc.sig, tc.ori, tc.got) |
How about removing tc.got? Is it impossible?
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.
Sorry, that was my mistake 🙏
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.
thank you,
hahaha, I didn't notice DetermineStageStatus(sig StopSignalType, ori, got model.StageStatus)
has got
too, I was confused.
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
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.
👍🏻
What this PR does:
as title
Why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: