You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that in WebEnvironment.MOCKserver.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.
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
The text was updated successfully, but these errors were encountered: