You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/06/29 03:10:20 UTC

[GitHub] [servicecomb-java-chassis] yhs0092 opened a new issue #2439: The UT TestVertxMetersInitializer may fail when the test server is assigned a 4-digit port number

yhs0092 opened a new issue #2439:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2439


   The key code line is at
   https://github.com/apache/servicecomb-java-chassis/blob/a063df553aaa0cbdefce4c7f5aaeabba7cc1d466/metrics/metrics-core/src/test/java/org/apache/servicecomb/metrics/core/TestVertxMetersInitializer.java#L169
   
   in the end of this line, the port number is filled into a place holder `%-5s`, which means if the port number is 4-digit, there will be a space at the end. But if a microservice instance is actually assigned a 4-digit portnumber, the metrics log will only write the port number without any unnecessary space character.
   
   Here is my error log when I run `mvn clean install -Pit`:
   ![图片](https://user-images.githubusercontent.com/22049770/123731312-7dc52e80-d8ca-11eb-8c22-535833299393.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 closed issue #2439: The UT TestVertxMetersInitializer may fail when the test server is assigned a 4-digit port number

Posted by GitBox <gi...@apache.org>.
liubao68 closed issue #2439:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2439


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 closed issue #2439: The UT TestVertxMetersInitializer may fail when the test server is assigned a 4-digit port number

Posted by GitBox <gi...@apache.org>.
liubao68 closed issue #2439:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2439


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 closed issue #2439: The UT TestVertxMetersInitializer may fail when the test server is assigned a 4-digit port number

Posted by GitBox <gi...@apache.org>.
liubao68 closed issue #2439:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2439


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org