Skip to content

Commit

Permalink
Add more verbose logging for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei-Adnan Ismail committed Dec 1, 2015
1 parent 7434bdc commit 949db7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/proxysql_base_test.py
Expand Up @@ -185,13 +185,17 @@ def run_in_docker_scenarios(self, f, scenarios=[], proxysql_filters={}, mysql_fi
configurations without having to go the extra mile.
"""

print('##################### Running test %r' % f)

scenarios = self.docker_fleet.generate_scenarios(scenarios=scenarios,
proxysql_filters=proxysql_filters,
mysql_filters=mysql_filters)
committed_images = set()
copy_folder = True
delete_folder = True
for (i, scenario) in enumerate(scenarios):
print("******** Running scenario %s (proxysql_image=%s, mysql_image=%s)" %
(scenario['scenario_dir'], scenario['proxysql_image'], scenario['mysql_image']))
copy_folder = (i == 0)
delete_folder = (i == len(scenarios) - 1)

Expand Down

0 comments on commit 949db7b

Please sign in to comment.