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

🌱 Reduce e2e process time #210

Conversation

qiujian16
Copy link
Member

Summary

for work and addon e2e, we do not need to
restart klusterlet for each case

Related issue(s)

Fixes #

@openshift-ci openshift-ci bot requested review from elgnay and haoqing0110 July 4, 2023 08:35
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 4, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiujian16

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

@codecov
Copy link

codecov bot commented Jul 4, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (21ee8d4) 59.91% compared to head (9c4fd5f) 59.91%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #210   +/-   ##
=======================================
  Coverage   59.91%   59.91%           
=======================================
  Files         128      128           
  Lines       13241    13241           
=======================================
  Hits         7933     7933           
+ Misses       4569     4568    -1     
- Partials      739      740    +1     
Flag Coverage Δ
unit 59.91% <ø> (ø)

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

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

for work and addon e2e, we do not need to
restart klusterlet for each case

Signed-off-by: Jian Qiu <jqiu@redhat.com>
@@ -44,9 +44,9 @@ var (
}
)

var _ = ginkgo.Describe("Enable addon management feature gate", ginkgo.Label("addon-manager"), func() {
var _ = ginkgo.Describe("Enable addon management feature gate", ginkgo.Ordered, ginkgo.Label("addon-manager"), func() {
Copy link
Member

Choose a reason for hiding this comment

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

why do we need the ginkgo.Ordered for this test?

Copy link
Member Author

Choose a reason for hiding this comment

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

since we use the same addon name in each test case, so the two cannot run concurrently. It also help us to add a BeforeAll and AfterAll to enable/disable the feature gates, so we do not need to enable/disable for each case.

@zhujian7
Copy link
Member

zhujian7 commented Jul 6, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jul 6, 2023
@openshift-merge-robot openshift-merge-robot merged commit c8ec750 into open-cluster-management-io:main Jul 6, 2023
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