From a4802cdbd1252c4432a9c75e9ab83c091068f268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Tue, 30 May 2017 10:04:48 +0300 Subject: [PATCH] Disable parts of tests that don't work in 2.0 The configuration checking functionality doesn't detect bad router options in 2.0. --- maxscale-system-test/mxs722.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/maxscale-system-test/mxs722.cpp b/maxscale-system-test/mxs722.cpp index 9a94ea9c7..332f4d35c 100644 --- a/maxscale-system-test/mxs722.cpp +++ b/maxscale-system-test/mxs722.cpp @@ -34,9 +34,10 @@ int main(int argc, char *argv[]) test->ssh_maxscale(true, "cp /etc/maxscale.cnf.backup /etc/maxscale.cnf"); /** Set router_options to a bad value */ - test->ssh_maxscale(true, "sed -i -e 's/router_options.*/router_options=bad_option=true/' /etc/maxscale.cnf"); - test->add_result(baseline == test->ssh_maxscale(true, "maxscale -c --user=maxscale"), - "Bad router_options should be detected.\n"); + // Disabled for 2.0 + //test->ssh_maxscale(true, "sed -i -e 's/router_options.*/router_options=bad_option=true/' /etc/maxscale.cnf"); + //test->add_result(baseline == test->ssh_maxscale(true, "maxscale -c --user=maxscale"), + // "Bad router_options should be detected.\n"); test->ssh_maxscale(true, "cp /etc/maxscale.cnf.backup /etc/maxscale.cnf");