-
Notifications
You must be signed in to change notification settings - Fork 239
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
[YUNIKORN-2998] tryNodesNoReserve is not tested #1008
base: master
Are you sure you want to change the base?
Conversation
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.
overall lgtm! btw, is there a way to cover L1430?
@ryankert01 Thanks for reviewing! I've added the variables and another test case, the code coverage has now reached 100%. PTAL :)
|
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.
edit: sorry, I forget to fetch the new code. It's indeed 100% and has L1430 covered. great work!
L1430 still not covered, but I think it might be fine if there's no way to do it.
also leaves some comments.
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.
lgtm
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1008 +/- ##
==========================================
+ Coverage 82.34% 82.48% +0.14%
==========================================
Files 97 97
Lines 15627 15627
==========================================
+ Hits 12868 12890 +22
+ Misses 2479 2457 -22
Partials 280 280 ☔ View full report in Codecov by Sentry. |
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.
+1 LGTM
What is this PR for?
Add unit test for tryNodesNoReserve, including 5 test cases:
What type of PR is it?
What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-2998