From f907c8fc5052547b0262900e342f94322d3ccabb Mon Sep 17 00:00:00 2001 From: Andrei Ismail Date: Sat, 20 Jun 2015 12:14:43 +0200 Subject: [PATCH] #291 Add test that tests the PROXYSQL STOP command --- test/admin_test.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/admin_test.py diff --git a/test/admin_test.py b/test/admin_test.py new file mode 100644 index 000000000..bd985b8dd --- /dev/null +++ b/test/admin_test.py @@ -0,0 +1,9 @@ +from proxysql_base_test import ProxySQLBaseTest + +class AdminTest(ProxySQLBaseTest): + + DOCKER_COMPOSE_FILE = "./scenarios/1backend" + + def test_stop_main_thread(self): + # This test will just assert that PROXYSQL STOP works correctly + self.run_query_proxysql_admin("PROXYSQL STOP") \ No newline at end of file