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:
Markus Mäkelä
2017-12-19 16:51:32 +02:00
committed by Johan Wikman
parent fab2eab0fd
commit 9fa059c2a2
9 changed files with 9 additions and 0 deletions

View File

@ -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