[ 
https://issues.apache.org/jira/browse/FLINK-9874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16565041#comment-16565041
 ] 

ASF GitHub Bot commented on FLINK-9874:
---------------------------------------

florianschmidt1994 commented on a change in pull request #6453: 
[FLINK-9874][E2E Tests] Fix set_ssl_conf for macOS
URL: https://github.com/apache/flink/pull/6453#discussion_r206812468
 
 

 ##########
 File path: flink-end-to-end-tests/test-scripts/common.sh
 ##########
 @@ -154,12 +175,15 @@ function set_conf_ssl {
        rm -rf "${TEST_DATA_DIR}/ssl"
     fi
     mkdir -p "${TEST_DATA_DIR}/ssl"
+
     NODENAME=`hostname -f`
     SANSTRING="dns:${NODENAME}"
-    for NODEIP in `hostname -I | cut -d' ' -f1` ; do
+    for NODEIP in $(get_node_ip) ; do
 
 Review comment:
   `hostname -I ` would return a list of IP addresses separated by a space, and 
the cut would only select one of those. The intended behaviour according to my 
discussion with @NicoK is that we append all IP addresses returned by `hostname 
-I` to the SANSTRING, which is why I removed that line

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> set_conf_ssl in E2E tests fails on macOS
> ----------------------------------------
>
>                 Key: FLINK-9874
>                 URL: https://issues.apache.org/jira/browse/FLINK-9874
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.6.0
>            Reporter: Florian Schmidt
>            Assignee: Florian Schmidt
>            Priority: Critical
>              Labels: pull-request-available, test-stability
>             Fix For: 1.6.0
>
>
> Setting up a cluster with SSL support in the end-to-end tests with 
> `_set_conf_ssl_` will fail under macOS because in the command
> {code:java}
> hostname -I{code}
> is used, but '_-I'_ is not a supported parameter for the hostname command 
> under macOS



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to