potiuk commented on a change in pull request #13424:
URL: https://github.com/apache/airflow/pull/13424#discussion_r550804978
##########
File path: scripts/in_container/check_environment.sh
##########
@@ -21,6 +21,21 @@ EXIT_CODE=0
DISABLED_INTEGRATIONS=""
+# We want to perform only forward lookup of the service IP address. Netcat
when run without -n
+# Performs both forward and reverse lookup and fails if the reverse lookup
name does not match
+# original name even if the host is reachable via IP. This happens randomly
with docker-compose
+# in Github Actions (apparently it is some race condition when one service
starts before DNS)
+# Since we are not using reverse lookup elsewhere we can perform forward
lookup in python
+# And use the IP in NC and add '-n' switch to disable any DNS use.
Review comment:
```suggestion
# and use the IP in NC and add '-n' switch to disable any DNS use.
```
----------------------------------------------------------------
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]