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

Revise e2e port-forward function #473

Merged
merged 7 commits into from
May 9, 2020

Conversation

Yisaer
Copy link
Contributor

@Yisaer Yisaer commented May 8, 2020

What problem does this PR solve?

Add e2e port-forward utility function.

Does this PR introduce a user-facing change?:

NONE

Song Gao added 2 commits May 8, 2020 20:23
@Yisaer
Copy link
Contributor Author

Yisaer commented May 8, 2020

/run-e2e-test

@Yisaer Yisaer marked this pull request as draft May 8, 2020 13:14
@Yisaer
Copy link
Contributor Author

Yisaer commented May 8, 2020

/run-e2e-test

@Yisaer Yisaer requested a review from yeya24 May 8, 2020 15:08
@Yisaer Yisaer marked this pull request as ready for review May 8, 2020 15:08
yeya24
yeya24 previously approved these changes May 8, 2020
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

LGTM. Only a small nit

return forwardedPorts, cancel, nil
}

// Forward would port-forward forward target resources
Copy link
Contributor

@yeya24 yeya24 May 8, 2020

Choose a reason for hiding this comment

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

port-forward forward? Is port-forward a noun or a verb?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

just a typo fixed now.

@Yisaer Yisaer requested a review from yeya24 May 9, 2020 03:27
@Yisaer Yisaer requested review from cwen0 and fewdan May 9, 2020 03:27
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Perfect! 🚀

@Yisaer
Copy link
Contributor Author

Yisaer commented May 9, 2020

/run-e2e-test

Copy link
Member

@cwen0 cwen0 left a comment

Choose a reason for hiding this comment

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

LGTM

@cwen0
Copy link
Member

cwen0 commented May 9, 2020

/merge

@sre-bot
Copy link
Contributor

sre-bot commented May 9, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented May 9, 2020

@Yisaer merge failed.

@codecov-io
Copy link

Codecov Report

Merging #473 into master will increase coverage by 0.30%.
The diff coverage is 53.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #473      +/-   ##
==========================================
+ Coverage   58.57%   58.88%   +0.30%     
==========================================
  Files          60       68       +8     
  Lines        3626     4385     +759     
==========================================
+ Hits         2124     2582     +458     
- Misses       1333     1611     +278     
- Partials      169      192      +23     
Impacted Files Coverage Δ
api/v1alpha1/common_webhook.go 100.00% <ø> (ø)
api/v1alpha1/iochaos_types.go 31.11% <0.00%> (-1.45%) ⬇️
api/v1alpha1/kernelchaos_types.go 4.44% <0.00%> (-0.21%) ⬇️
api/v1alpha1/networkchaos_types.go 18.65% <0.00%> (-0.29%) ⬇️
api/v1alpha1/podchaos_types.go 31.11% <0.00%> (-1.45%) ⬇️
controllers/stresschaos_controller.go 0.00% <0.00%> (ø)
controllers/timechaos_controller.go 0.00% <0.00%> (ø)
controllers/twophase/types.go 55.78% <0.00%> (-7.31%) ⬇️
pkg/chaosdaemon/netem_linux.go 26.66% <0.00%> (-17.78%) ⬇️
pkg/chaosdaemon/netlink_linux.go 0.00% <ø> (ø)
... and 35 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 15ff111...417be20. Read the comment docs.

@Yisaer
Copy link
Contributor Author

Yisaer commented May 9, 2020

/run-e2e-test

@Yisaer Yisaer merged commit d90440f into chaos-mesh:master May 9, 2020
sjwsl pushed a commit to sjwsl/chaos-mesh that referenced this pull request May 6, 2021
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.

5 participants