Request GTID replication in tests that require it
Added the required calls to request GTID replication in the mysqlmon failover tests.
This commit is contained in:
parent
fab2eab0fd
commit
9fa059c2a2
@ -8,6 +8,7 @@
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
interactive = strcmp(argv[argc - 1], "interactive") == 0;
|
||||
Mariadb_nodes::require_gtid(true);
|
||||
TestConnections test(argc, argv);
|
||||
|
||||
// Wait a few seconds
|
||||
|
@ -211,6 +211,7 @@ void run(TestConnections& test)
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
Mariadb_nodes::require_gtid(true);
|
||||
TestConnections test(argc, argv);
|
||||
|
||||
run(test);
|
||||
|
@ -9,6 +9,7 @@ int main(int argc, char** argv)
|
||||
{
|
||||
const char FAILOVER_CMD[] = "maxadmin call command mysqlmon failover MySQL-Monitor";
|
||||
interactive = strcmp(argv[argc - 1], "interactive") == 0;
|
||||
Mariadb_nodes::require_gtid(true);
|
||||
TestConnections test(argc, argv);
|
||||
int ec;
|
||||
// Wait a few seconds
|
||||
|
@ -178,6 +178,7 @@ void run(TestConnections& test)
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
Mariadb_nodes::require_gtid(true);
|
||||
TestConnections test(argc, argv);
|
||||
|
||||
try
|
||||
|
@ -198,6 +198,7 @@ void run(TestConnections& test)
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
Mariadb_nodes::require_gtid(true);
|
||||
TestConnections test(argc, argv);
|
||||
|
||||
run(test);
|
||||
|
@ -256,6 +256,7 @@ void run(XTestConnections& test)
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
Mariadb_nodes::require_gtid(true);
|
||||
XTestConnections test(argc, argv);
|
||||
|
||||
try
|
||||
|
@ -200,6 +200,7 @@ void run(TestConnections& test)
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
Mariadb_nodes::require_gtid(true);
|
||||
TestConnections test(argc, argv);
|
||||
|
||||
run(test);
|
||||
|
@ -22,6 +22,7 @@ int main(int argc, char** argv)
|
||||
{
|
||||
char result_tmp[bufsize];
|
||||
interactive = strcmp(argv[argc - 1], "interactive") == 0;
|
||||
Mariadb_nodes::require_gtid(true);
|
||||
TestConnections test(argc, argv);
|
||||
MYSQL* maxconn = test.maxscales->open_rwsplit_connection(0);
|
||||
|
||||
|
@ -18,6 +18,7 @@ using std::string;
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
interactive = strcmp(argv[argc - 1], "interactive") == 0;
|
||||
Mariadb_nodes::require_gtid(true);
|
||||
TestConnections test(argc, argv);
|
||||
MYSQL* maxconn = test.maxscales->open_rwsplit_connection(0);
|
||||
// Set up test table
|
||||
|
Loading…
x
Reference in New Issue
Block a user