From 7cfc9df0e9ce38783e2aef472fe95f546ea79942 Mon Sep 17 00:00:00 2001 From: Andrei-Adnan Ismail Date: Tue, 6 Oct 2015 17:51:36 +0300 Subject: [PATCH] #403 Explain why we needed sleep(5) after starting the containers --- test/proxysql_base_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/proxysql_base_test.py b/test/proxysql_base_test.py index f5c07379e..1a73e6d31 100644 --- a/test/proxysql_base_test.py +++ b/test/proxysql_base_test.py @@ -207,6 +207,9 @@ class ProxySQLBaseTest(TestCase): proxysql_admin_credentials = cls.get_proxysql_admin_connection_credentials() cls.wait_for_mysql_connection_ok(**proxysql_admin_credentials) + # admin_test would be failing without this. Basically it means that + # ProxySQL doesn't seem to behave well when starting it and stopping it + # immediately after that. time.sleep(5) cls._populate_mysql_containers_with_dump()