Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Fix test on mysql-5.6 #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ docker build -t mysql-5.6 5.6/

echo "=> Testing if mysql is running on 5.6"
docker run -d -p 23306:3306 -e MYSQL_USER="user" -e MYSQL_PASS="test" mysql-5.6; sleep 10
mysqladmin -uuser -ptest -h127.0.0.1 -P13307 ping | grep -c "mysqld is alive"
mysqladmin -uuser -ptest -h127.0.0.1 -P23306 ping | grep -c "mysqld is alive"

echo "=> Testing replication on mysql 5.6"
docker run -d -e MYSQL_USER=user -e MYSQL_PASS=test -e REPLICATION_MASTER=true -e REPLICATION_USER=repl -e REPLICATION_PASS=repl -p 23307:3306 --name mysql56master mysql-5.6; sleep 10
Expand Down