Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2d4f237

Browse files
committedDec 9, 2024·
Add port to smoke test
1 parent 6d00724 commit 2d4f237

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
 

‎CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
## Unreleased
66

7-
## 11.1.9 - *2024-12-09*
8-
97
- feat: add support for ubuntu 24.04 (noble numbat)
108

9+
## 11.1.9 - *2024-12-09*
10+
1111
## 11.1.8 - *2024-11-18*
1212

1313
## 11.1.7 - *2024-11-18*

‎test/cookbooks/test/recipes/smoke.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
mysql_config 'replication-slave-1' do
4848
instance 'slave-1'
4949
source 'replication-slave.erb'
50-
variables(server_id: '2', mysql_instance: 'slave-1')
50+
variables(server_id: '2', mysql_instance: 'slave-1', port: '3307')
5151
notifies :restart, 'mysql_service[slave-1]', :immediately
5252
action :create
5353
end
@@ -63,7 +63,7 @@
6363
mysql_config 'replication-slave-2' do
6464
instance 'slave-2'
6565
source 'replication-slave.erb'
66-
variables(server_id: '3', mysql_instance: 'slave-2')
66+
variables(server_id: '3', mysql_instance: 'slave-2', port: '3308')
6767
notifies :restart, 'mysql_service[slave-2]', :immediately
6868
action :create
6969
end

‎test/cookbooks/test/templates/default/replication-slave.erb

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ log_error = /var/log/mysql-<%= @mysql_instance %>/error.log
33
relay-log = /var/log/mysql-<%= @mysql_instance %>/mysql-relay-bin.log
44
server-id = <%= @server_id %>
55
replicate-ignore-db = mysql
6+
port = <%= @port || '3306' %>

0 commit comments

Comments
 (0)
Please sign in to comment.