volcano
volcano copied to clipboard
[good first issue]enrich the unit-test for some package
What would you like to be added:
There are many packages which don't have unit-test, such as:
-
actions:
- [ ] enqueue
- [ ] backfill
-
plugins:
- [ ] gang
- [ ] extender
- [ ] overcommit
- [ ] resourcequota
- [ ] usage
-
others, include some PRs:
UTs should include positive cases and reverse cases.
Why is this needed:
- to avoid future changes impacting those function, and make code more strong
Benefits
- you can familiar with the coding logic and get started with volcano
how to assign
assign only one package to yourself in each pr.
/good first issue /help wanted
/assign
@lowang-bh I would like to work on unit-tests for resourcequota
/assign
@lowang-bh I would like to work on the rest unit-tests
/assign
@Subhasish-Behera @rayoluo Any updates on this issue?
@lowang-bh Just filed a PR for the resourcequota
plugin. any feedback about the PR is welcome.
(cc @william-wang @Monokaix )
Now we can use the base UT lib in https://github.com/volcano-sh/volcano/pull/3343 to do the test. Examples shows at PR #3340 #3341 #3342
/good-first-issue
@lowang-bh: This request has been marked as suitable for new contributors.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue
command.
In response to this:
/good-first-issue
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/assign
@lowang-bh Hello, may I ask if this will allocate a specific part?
@lowang-bh Hello, may I ask if this will allocate a specific part?
Welcome! You can work on those packages which have no UTs covered.
@googs1025 Hello, I'm currently looking into Issue #3075 and noticed that there's some overlap with current Issue regarding enqueue and backfill.
I was wondering if you're planning to address these actions in a future PR?
@MondayCha Hi, hello, I am currently working on other packages. You can work on the action package.
@MondayCha hi, Are you still working on this?
@MondayCha hi, Are you still working on this?
Sorry I haven't started yet. I'm still trying to understand the relevant code and might attempt it next week.
If you need to do enqueue and backfill, I will avoid it.
/close