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

Fix timeout issue with 3rd party npm registries. #555

Merged
merged 1 commit into from
Sep 17, 2019

Conversation

lukasbisdorf
Copy link
Contributor

@lukasbisdorf lukasbisdorf commented Sep 17, 2019

I ran into a Timeout issue when using a 3rd Party NPM registries (JFROG Artifactory).

I noticed that the additional argument --registry is missing for this check function, so added it in the same fashion as it was made for e.g.isAuthenticated()

@lukasbisdorf lukasbisdorf changed the title Fix timeout issue with 3rd party npm repositories. Fix timeout issue with 3rd party npm registries. Sep 17, 2019
@webpro
Copy link
Collaborator

webpro commented Sep 17, 2019

Thanks, @lukasbisdorf. Could you please add a test for this? I'm happy to merge it then!

@lukasbisdorf
Copy link
Contributor Author

lukasbisdorf commented Sep 17, 2019

Hey @webpro - I'm not sure how to write a proper test inside this test suite. And also not how to reliably test a proper outcome of this function inside a unit test...
Can you help me out here?

@webpro
Copy link
Collaborator

webpro commented Sep 17, 2019

No problem, @lukasbisdorf. Would you like me to guide you writing test(s), or would you rather have me do it? I do have some time to write these myself this evening.

@lukasbisdorf
Copy link
Contributor Author

For now I would prefer you doing it - I'll than take a look into your code and try to comprehend what you have done. :)
Thanks!

@webpro webpro merged commit f9980a0 into release-it:master Sep 17, 2019
@webpro
Copy link
Collaborator

webpro commented Sep 17, 2019

This was just released in v12.4.1. Thanks again, @lukasbisdorf.

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