bharatviswa504 commented on a change in pull request #1303: HDDS-1903 : Use
dynamic ports for SCM in TestSCMClientProtocolServer …
URL: https://github.com/apache/hadoop/pull/1303#discussion_r314549278
##########
File path:
hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/server/TestSCMClientProtocolServer.java
##########
@@ -46,7 +52,11 @@
@Before
public void setUp() throws Exception {
+ int port = new ServerSocket(0).getLocalPort();
config = new OzoneConfiguration();
+ config.set(OZONE_SCM_CLIENT_ADDRESS_KEY,
+ StringUtils.join(OZONE_SCM_CLIENT_BIND_HOST_DEFAULT, ":",
Review comment:
Same here too.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]