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

Add a new cloneset scale controller #1301

Merged
merged 6 commits into from
Apr 7, 2021

Conversation

ryanzhang-oss
Copy link
Collaborator

Add a new cloneset scale controller

@ryanzhang-oss ryanzhang-oss changed the title Add a new cloneset scale controller [WIP]Add a new cloneset scale controller Mar 25, 2021
@codecov
Copy link

codecov bot commented Mar 25, 2021

Codecov Report

Merging #1301 (0726094) into master (f7196e1) will decrease coverage by 3.39%.
The diff coverage is 21.68%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1301      +/-   ##
==========================================
- Coverage   54.77%   51.37%   -3.40%     
==========================================
  Files          76       81       +5     
  Lines        7305     7922     +617     
==========================================
+ Hits         4001     4070      +69     
- Misses       2819     3366     +547     
- Partials      485      486       +1     
Flag Coverage Δ
unittests 51.37% <21.68%> (-3.40%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ntroller/common/rollout/rollout_plan_controller.go 0.00% <0.00%> (ø)
...n/rollout/workloads/cloneset_rollout_controller.go 0.00% <0.00%> (ø)
...mon/rollout/workloads/cloneset_scale_controller.go 0.00% <0.00%> (ø)
.../controller/common/rollout/workloads/controller.go 0.00% <0.00%> (ø)
.../common/rollout/workloads/deployment_controller.go 0.00% <0.00%> (ø)
...am.dev/v1alpha2/applicationconfiguration/render.go 86.17% <ø> (-0.17%) ⬇️
...pplicationrollout/applicationrollout_controller.go 0.00% <ø> (ø)
pkg/oam/util/helper.go 67.19% <0.00%> (-1.97%) ⬇️
...ev/v1alpha2/applicationrollout/mutating_handler.go 0.00% <0.00%> (ø)
....oam.dev/v1alpha2/applicationrollout/validation.go 0.00% <0.00%> (ø)
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7196e1...0726094. Read the comment docs.

@ryanzhang-oss ryanzhang-oss force-pushed the add-cloneset-scale branch 2 times, most recently from 85a8d83 to fa07f19 Compare March 31, 2021 23:10
@ryanzhang-oss ryanzhang-oss changed the title [WIP]Add a new cloneset scale controller Add a new cloneset scale controller Apr 6, 2021
@@ -141,7 +139,7 @@ func TestMakeHTTPRequest(t *testing.T) {
if string(gotReply) != tt.want.body {
t.Errorf("\n%s\nr.Reconcile(...): want reply `%s`, got reply:`%s`\n", testName, tt.want.body, string(gotReply))
}
})
}(testName)
Copy link
Collaborator

Choose a reason for hiding this comment

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

the test will run serial not pararell now.

Copy link
Collaborator

@wonderflow wonderflow left a comment

Choose a reason for hiding this comment

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

LGTM please increase the test coverage

@ryanzhang-oss ryanzhang-oss merged commit 325a4cd into kubevela:master Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants