zhongjiajie 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_r403001408
##########
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:
It could use `docker ps -qf "name=docker-compose_mysql_1"`, but I'm not sure
if other would contain the name `docker-compose_mysql_1*`
----------------------------------------------------------------
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