MXS-2441: Add galera with slaves test case

The test checks that servers replicating from Galera nodes work as
expected.
This commit is contained in:
Markus Mäkelä
2019-04-18 11:27:00 +03:00
parent 111ab8f5e4
commit 5e6107d451
5 changed files with 156 additions and 5 deletions

View File

@ -477,6 +477,9 @@ public:
*/
void replicate_from(int slave, int master, const char* type = "current_pos");
// Replicates from a host and a port instead of a known server
void replicate_from(int slave, const std::string& host, uint16_t port, const char* type = "current_pos");
private:
bool check_master_node(MYSQL* conn);