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

Commit

Permalink
try fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lance6716 committed Mar 4, 2021
1 parent 71a186a commit 686dafd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/binlog-999999.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ jobs:
- name: Run test cases
run: |
make integration_test CASE=incremental_mode
sed -i "s/host: 127.0.0.1/host: mysql1/g" ./tests/incremental_mode/conf/source1.yaml
sed -i "s/host: 127.0.0.1/host: mysql2/g" ./tests/incremental_mode/conf/source2.yaml
sed -i "s/port: 3307/port: 3306/g" ./tests/incremental_mode/conf/source2.yaml
MYSQL_HOST1=mysql1 MYSQL_PORT1=3306 MYSQL_HOST2=mysql2 MYSQL_PORT2=3306 make integration_test CASE=incremental_mode
- name: Copy logs to hack permission
if: ${{ always() }}
Expand Down
6 changes: 3 additions & 3 deletions tests/binlog_999999/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
hostname: mysql1
networks:
db-networks:
ipv4_address: 172.28.0.201
ipv4_address: 172.28.128.4
image: mysql:5.7.32
command: --default-authentication-plugin=mysql_native_password --log-bin=/var/lib/mysql/mysql-bin --server-id=1 --binlog-format=ROW --gtid_mode=ON --enforce-gtid-consistency=true
restart: always
Expand All @@ -33,8 +33,8 @@ services:
container_name: mysql2
hostname: mysql2
networks:
dm-tiup:
ipv4_address: 172.28.0.202
db-networks:
ipv4_address: 172.28.128.5
image: mysql:5.7.32
command: --default-authentication-plugin=mysql_native_password --log-bin=/var/lib/mysql/mysql-bin --server-id=1 --binlog-format=ROW --gtid_mode=ON --enforce-gtid-consistency=true
restart: always
Expand Down

0 comments on commit 686dafd

Please sign in to comment.