diff --git a/maxscale-system-test/testconnections.cpp b/maxscale-system-test/testconnections.cpp index e141d6f63..1f31d8c68 100644 --- a/maxscale-system-test/testconnections.cpp +++ b/maxscale-system-test/testconnections.cpp @@ -363,6 +363,12 @@ TestConnections::~TestConnections() { delete galera; } + + if (global_result) + { + // This causes the test to fail if a core dump is found + exit(1); + } } void TestConnections::report_result(const char *format, va_list argp)