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-838] Improve coverage of allocation_ask.go #320
Conversation
Codecov Report
@@ Coverage Diff @@
## master #320 +/- ##
==========================================
+ Coverage 63.46% 66.00% +2.54%
==========================================
Files 60 63 +3
Lines 5220 5937 +717
==========================================
+ Hits 3313 3919 +606
- Misses 1747 1814 +67
- Partials 160 204 +44
Continue to review full report at Codecov.
|
hi @0yukali0 sorry for the late response. I just looked more into this PR.
|
Got it. |
@0yukali0 can u pls update the PR? |
Got it
Weiwei Yang ***@***.***> 於 2021年9月13日 週一 下午11:04 寫道:
… @0yukali0 <https://github.com/0yukali0> can u pls update the PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#320 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK6DJMBOC4UURWPZ6FWAWUDUBYHHFANCNFSM5DS3I6MQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi @yangwwei , setPriority funtion is not used in yunikorn-core now, should i add it into UT? |
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
commit 98ad1a8 Author: Chia-Ping Tsai <chia7712@gmail.com> Date: Wed Sep 15 23:01:10 2021 +0800 fix /ws/v1/queues commit 50c85e2 Author: Chia-Ping Tsai <chia7712@gmail.com> Date: Wed Sep 15 14:00:07 2021 +0800 use common helper directly commit e9b88a8 Author: Chia-Ping Tsai <chia7712@gmail.com> Date: Tue Sep 14 19:25:02 2021 +0800 [YUNIKORN-834] Unify the "partition name" in REST APIs commit 4533c13 Author: 0yukali0 <45888688+0yukali0@users.noreply.github.com> Date: Tue Sep 14 11:16:27 2021 +0800 [YUNIKORN-838] Improve coverage of allocation_ask.go (apache#320) Add UT coverage to the code sets priorities to allocation ask. commit ab6fa20 Author: manirajv06 <manirajv06@gmail.com> Date: Tue Sep 14 02:46:40 2021 +0530 [YUNIKORN-697]: Enforce partition name uniqueness in core (apache#321)
What is this PR for?
Add unit test to improve coverage
What type of PR is it?
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-838
How should this be tested?
Use command "make test" to create coverage.txt and then use "go tool cover -func=coverage.txt" to check
Screenshots (if appropriate)
Questions: