[
https://issues.apache.org/jira/browse/FLINK-9874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16565045#comment-16565045
]
ASF GitHub Bot commented on FLINK-9874:
---------------------------------------
twalthr 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_r206813050
##########
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:
Thanks for the clarification.
----------------------------------------------------------------
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:
[email protected]
> 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)