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

Allow neuro port-forward to accept multiple local-remote port pairs #695

Merged
merged 7 commits into from
Apr 12, 2019

Conversation

anayden
Copy link
Contributor

@anayden anayden commented Apr 8, 2019

Fixes #632

@anayden anayden requested a review from asvetlov April 8, 2019 15:42
@astaff astaff added the platform label Apr 8, 2019
@anayden anayden changed the title Allow neuro port-forward to accept multiple local-remote port pairs WIP: Allow neuro port-forward to accept multiple local-remote port pairs Apr 8, 2019
neuromation/cli/utils.py Outdated Show resolved Hide resolved
neuromation/cli/utils.py Outdated Show resolved Hide resolved
"",
],
)
def test_local_remote_port_param_type_invalid(arg) -> None:
Copy link
Contributor

Choose a reason for hiding this comment

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

still, I prefer parametrized tests as they are more clear and concise :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Happy debugging!
Size of a test suite is never a priority :)

neuromation/client/jobs.py Outdated Show resolved Hide resolved
@asvetlov
Copy link
Contributor

asvetlov commented Apr 9, 2019

please merge the current master into PR branch

@anayden anayden force-pushed the an/multiple-port-forward branch from 9964842 to 86a5371 Compare April 9, 2019 11:18
@codecov
Copy link

codecov bot commented Apr 9, 2019

Codecov Report

Merging #695 into master will increase coverage by 0.95%.
The diff coverage is 91.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #695      +/-   ##
==========================================
+ Coverage   90.58%   91.54%   +0.95%     
==========================================
  Files          39       40       +1     
  Lines        3103     3263     +160     
  Branches      435      450      +15     
==========================================
+ Hits         2811     2987     +176     
+ Misses        218      207      -11     
+ Partials       74       69       -5
Impacted Files Coverage Δ
neuromation/cli/utils.py 92.09% <100%> (+1.45%) ⬆️
neuromation/api/jobs.py 92.58% <50%> (-0.58%) ⬇️
neuromation/cli/job.py 91.3% <95%> (-1.4%) ⬇️
neuromation/api/config.py 95.23% <0%> (-4.77%) ⬇️
neuromation/cli/main.py 57.36% <0%> (-1.83%) ⬇️
neuromation/cli/config.py 87.01% <0%> (-0.49%) ⬇️
neuromation/api/core.py 98.14% <0%> (-0.19%) ⬇️
neuromation/cli/version_utils.py 93.22% <0%> (-0.12%) ⬇️
... and 15 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 010d371...d82e5a5. Read the comment docs.

@anayden anayden force-pushed the an/multiple-port-forward branch from b26c755 to a854cdd Compare April 9, 2019 13:38
@anayden anayden changed the title WIP: Allow neuro port-forward to accept multiple local-remote port pairs Allow neuro port-forward to accept multiple local-remote port pairs Apr 9, 2019
@anayden anayden force-pushed the an/multiple-port-forward branch from a854cdd to 19d31a4 Compare April 12, 2019 09:29
@anayden anayden merged commit bb308b7 into master Apr 12, 2019
@anayden anayden deleted the an/multiple-port-forward branch April 12, 2019 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Command line arguments for port-forward
5 participants