From 77dc5946c7e547da03ea8735560ebd079cd7f0b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 13 Feb 2019 09:07:54 +0200 Subject: [PATCH] Fix watchdog test The test needs to remove the expected core dump to prevent the test from failing. --- maxscale-system-test/mxs2057_systemd_watchdog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/maxscale-system-test/mxs2057_systemd_watchdog.cpp b/maxscale-system-test/mxs2057_systemd_watchdog.cpp index 633d1c193..bf8852ea9 100644 --- a/maxscale-system-test/mxs2057_systemd_watchdog.cpp +++ b/maxscale-system-test/mxs2057_systemd_watchdog.cpp @@ -65,6 +65,7 @@ void test_watchdog(TestConnections& test, int argc, char* argv[]) if (test.global_result == 0) { test.tprintf("Maxscale was killed by systemd - ok"); + test.maxscales->ssh_node_f(0, true, "rm -f /tmp/*core"); } } }