-
Notifications
You must be signed in to change notification settings - Fork 879
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
operator/pkg/tasks: unit test apiserver #5624
operator/pkg/tasks: unit test apiserver #5624
Conversation
64fdc30
to
2d5cda3
Compare
6e4e958
to
f5e8cd0
Compare
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #5624 +/- ##
==========================================
+ Coverage 35.85% 36.57% +0.72%
==========================================
Files 647 649 +2
Lines 45070 45121 +51
==========================================
+ Hits 16158 16503 +345
+ Misses 27664 27342 -322
- Partials 1248 1276 +28
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
f5e8cd0
to
6b0fb06
Compare
be3ec7d
to
3f12649
Compare
Hi @mohamedawnallah, the ci lint is failed, can you help fix it? |
@XiShanYongYe-Chang This PR depends on #5630 that needs to be merged first. |
3f12649
to
70bebd2
Compare
Rebased now on master branch after #5630 PR got merged. I will ask for review when CI GitHub tests finish :) |
c4de1d8
to
5cbf05c
Compare
cc: @XiShanYongYe-Chang All tests passed now after rebasing :) |
Thanks~ @mohamedawnallah |
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
/cc @chaosi-zju
In this commit, we introduce unit tests for the apiserver init task in the operator pkg by testing the running and waiting operations on Karmada API Server and Karmada Aggregated API Server. Signed-off-by: Mohamed Awnallah <[email protected]>
5cbf05c
to
ecdc909
Compare
Cc @XiShanYongYe-Chang, there are some PRs blocked because they depend on the merging of this PR since it includes some utilities. Could we get this in sooner? |
OK. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: XiShanYongYe-Chang 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 |
/lgtm |
Thanks, @XiShanYongYe-Chang, for merging it! 🙏 |
Description
In this commit, we introduce unit tests for the apiserver init task in the operator pkg by testing the running and waiting operations on Karmada API Server and Karmada Aggregated API Server.
What type of PR is this?
Which issue(s) this PR fixes:
Part of #5491.
Depends on #5630.
Does this PR introduce a user-facing change?: