Skip to content

Commit

Permalink
MCLOUD-9142: Enable synchronous replication if slave connections is e…
Browse files Browse the repository at this point in the history
…nabled
  • Loading branch information
BaDos committed Aug 18, 2022
1 parent 98191e1 commit c1de944
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Test/Unit/Config/Database/DbConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ public function getDataProvider()
'engine' => 'innodb',
'initStatements' => 'SET NAMES utf8;',
'active' => '1',
'synchronous_replication' => true,
],
],
],
Expand All @@ -342,6 +343,7 @@ public function getDataProvider()
'engine' => 'innodb',
'initStatements' => 'SET NAMES utf8;',
'active' => '1',
'synchronous_replication' => true,
],
],
],
Expand Down Expand Up @@ -495,6 +497,7 @@ public function getDataProvider()
'engine' => 'innodb',
'initStatements' => 'SET NAMES utf8;',
'active' => '1',
'synchronous_replication' => true,
],
],
],
Expand Down Expand Up @@ -616,6 +619,7 @@ public function getDataProvider()
'engine' => 'innodb',
'initStatements' => 'SET NAMES utf8;',
'active' => '1',
'synchronous_replication' => true,
],
],
],
Expand Down Expand Up @@ -759,6 +763,7 @@ public function getDataProvider()
'engine' => 'innodb',
'initStatements' => 'SET NAMES utf8;',
'active' => '1',
'synchronous_replication' => true,
],
'checkout' => [
'host' => 'some_host_quote_slave:3310',
Expand All @@ -769,6 +774,7 @@ public function getDataProvider()
'engine' => 'innodb',
'initStatements' => 'SET NAMES utf8;',
'active' => '1',
'synchronous_replication' => true,
],
'sales' => [
'host' => 'some_host_sales_slave:3311',
Expand All @@ -779,6 +785,7 @@ public function getDataProvider()
'engine' => 'innodb',
'initStatements' => 'SET NAMES utf8;',
'active' => '1',
'synchronous_replication' => true,
],
],
],
Expand Down Expand Up @@ -977,6 +984,7 @@ public function getDataProvider()
'engine' => 'innodb',
'initStatements' => 'SET NAMES utf8;',
'active' => '1',
'synchronous_replication' => true,
],
'sales' => ['host' => 'some_host_sales_slave:3311',
'username' => 'some_username_sales_slave',
Expand All @@ -986,6 +994,7 @@ public function getDataProvider()
'engine' => 'innodb',
'initStatements' => 'SET NAMES utf8;',
'active' => '1',
'synchronous_replication' => true,
],
],
],
Expand Down

0 comments on commit c1de944

Please sign in to comment.