potiuk commented on a change in pull request #8094: Fix enter Breeze with 
multiple container name include mysql
URL: https://github.com/apache/airflow/pull/8094#discussion_r403006774
 
 

 ##########
 File path: scripts/ci/in_container/check_environment.sh
 ##########
 @@ -122,12 +122,19 @@ function check_db_connection {
 function check_mysql_logs {
     MAX_CHECK=${1:=60}
     # Wait until mysql is ready!
-    MYSQL_CONTAINER=$(docker ps -qf "name=mysql")
+    MYSQL_CONTAINER=$(docker ps -q -f "name=mysql" -f "volume=/dev/urandom")
 
 Review comment:
   Because it is done in container not outside. In order to use docker compose 
you need to have access to all the docker compose yaml files and know how many 
of those you had - this information is not passed to inside the container.

----------------------------------------------------------------
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

Reply via email to