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

koord-scheduler: add e2e case for multi quota tree #1675

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

shaloulcy
Copy link
Contributor

Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

V. Checklist

  • I have written necessary docs and comments
  • I have added necessary unit tests and integration tests
  • All checks passed in make test

@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.13% 🎉

Comparison is base (1d0df44) 65.94% compared to head (bf6ee05) 66.08%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1675      +/-   ##
==========================================
+ Coverage   65.94%   66.08%   +0.13%     
==========================================
  Files         380      384       +4     
  Lines       40960    41454     +494     
==========================================
+ Hits        27013    27393     +380     
- Misses      11970    12045      +75     
- Partials     1977     2016      +39     
Flag Coverage Δ
unittests 66.08% <100.00%> (+0.13%) ⬆️

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

Files Changed Coverage Δ
pkg/webhook/elasticquota/quota_topology.go 73.68% <100.00%> (ø)

... and 25 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

})
})

func MarshalValue(val interface{}) string {
Copy link
Member

Choose a reason for hiding this comment

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

duplicate with pkg/util/json.go DumpJSON

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

return false
}, 60*time.Second, 1*time.Second).Should(gomega.Equal(true))

ginkgo.By("create quota profile2 with resource ratio")
Copy link
Member

Choose a reason for hiding this comment

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

There seem to be two scenarios, but they are both written together. It is recommended to split them into different cases.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@shaloulcy shaloulcy force-pushed the add_e2e_for_quota branch 3 times, most recently from 1882943 to 7d12c32 Compare September 21, 2023 06:01
@koordinator-bot koordinator-bot bot added size/XL and removed size/L labels Sep 21, 2023
@saintube saintube changed the title kube-scheduler: add e2e case for multi quota tree koord-scheduler: add e2e case for multi quota tree Sep 21, 2023
@hormes
Copy link
Member

hormes commented Sep 22, 2023

/lgtm
/approve

@koordinator-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hormes

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

@koordinator-bot koordinator-bot bot merged commit 259fa61 into koordinator-sh:main Sep 22, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants