Skip tests that cannot be run

If a test requires Galera but it is not available, it is now skipped. All
tests that explicitly use the `test.galera` member as well as all tests
that use a Galera configuration now require that Galera is present.
This commit is contained in:
Markus Mäkelä
2018-11-16 00:10:16 +02:00
parent 11f607de8d
commit 74ec1e7400
16 changed files with 31 additions and 2 deletions

View File

@ -90,6 +90,7 @@ void test_script_monitor(TestConnections* Test, Mariadb_nodes* nodes, char* expe
int main(int argc, char* argv[])
{
TestConnections::require_galera(true);
TestConnections* Test = new TestConnections(argc, argv);
Test->set_timeout(100);