Skip to content
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

feat: add ut common framework #3343

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

lowang-bh
Copy link
Member

@lowang-bh lowang-bh commented Mar 9, 2024

Add a common UT package to do UTs.

Nowadays, some UTs are not actually runned, as issue #2810 #2957 describe.
And, what's more, the lib gomonkey has no permit to run on MacOS and is not convenient to do UTs for developers.
Now we can ut this package to refact all other package's UTs.

@volcano-sh-bot volcano-sh-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 9, 2024
@lowang-bh
Copy link
Member Author

/assign @Monokaix @wangyang0616

fix: fake bind is async process and need to wait it fininsh; add binder chan
buffer in some UT
fix: add lock for fakeBinder

Signed-off-by: lowang-bh <lhui_wang@163.com>
@Monokaix
Copy link
Member

/lgtm

@volcano-sh-bot volcano-sh-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 11, 2024
Copy link
Member

@william-wang william-wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@volcano-sh-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: william-wang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@volcano-sh-bot volcano-sh-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 11, 2024
@volcano-sh-bot volcano-sh-bot merged commit 0a26eb8 into volcano-sh:master Mar 11, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants