Add tests from develop
Added tests from develop. The test results need to be modified for 2.0.
This commit is contained in:
16
maxscale-system-test/binlog_failover.cpp
Normal file
16
maxscale-system-test/binlog_failover.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @file binlog_failover.cpp binlog_failover Test of failover scenarion for binlog router
|
||||
*
|
||||
* - setup following configuration:
|
||||
* - one master
|
||||
* - two maxscale binlog machines
|
||||
* - two slaves connected to each maxscale binlog mashine
|
||||
* - put some date via master
|
||||
* - block master
|
||||
* - stop all Maxscale machines with STOP SLAVE command
|
||||
* - check which Maxscale machine contains most recent data (let's call this machine 'most_recent_maxscale')
|
||||
* - use CHANGE MASETER on the second Maxscale machine to point it to the Maxscale machine from the previous step ('most_recent_maxscale')
|
||||
* - wait until second Maxscale is in sync with 'most_recent_maxscale' (use SHOW MASTER STATUS)
|
||||
* - select new master (HOW??)
|
||||
* - set all Maxscale machines to be a slaves of new master
|
||||
*/
|
Reference in New Issue
Block a user