hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (HDDS-1903) Use dynamic ports for SCM in TestSCMClientProtocolServer and TestSCMSecurityProtocolServer
Date Fri, 16 Aug 2019 00:40:00 GMT

     [ https://issues.apache.org/jira/browse/HDDS-1903?focusedWorklogId=295905&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-295905
]

ASF GitHub Bot logged work on HDDS-1903:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Aug/19 00:39
            Start Date: 16/Aug/19 00:39
    Worklog Time Spent: 10m 
      Work Description: bharatviswa504 commented on 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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 295905)
    Time Spent: 1h 20m  (was: 1h 10m)

> Use dynamic ports for SCM in TestSCMClientProtocolServer and TestSCMSecurityProtocolServer
> ------------------------------------------------------------------------------------------
>
>                 Key: HDDS-1903
>                 URL: https://issues.apache.org/jira/browse/HDDS-1903
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: test
>            Reporter: Nanda kumar
>            Assignee: Aravindan Vijayan
>            Priority: Major
>              Labels: newbie, pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> We should use dynamic port for SCM in the following test-cases
> * TestSCMClientProtocolServer
> * TestSCMSecurityProtocolServer



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message