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

When using MOCK web env and Zipkin starter exception is thrown #518

Closed
marcingrzejszczak opened this issue Feb 15, 2017 · 2 comments
Closed
Labels
Milestone

Comments

@marcingrzejszczak
Copy link
Contributor

It seems that in WebEnvironment.MOCK server.port property of an application is changed to -1 in spring test. It causes the following exception in zipkin: java.lang.IllegalArgumentException: invalid port -1

If zipkin is disabled in test class by using annotation: @TestPropertySource(properties = { "spring.zipkin.enabled: false" }) everything goes fine.

project to replicate the issue https://github.com/vanarchi/SleuthZipkinPortProblem

@elgohr
Copy link

elgohr commented Mar 8, 2017

When will this be available?

@marcingrzejszczak
Copy link
Contributor Author

This week hopefully. Next week at latest I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants