Usability improvement of clickhouse-test

This commit is contained in:
Alexey Milovidov 2021-01-18 14:38:31 +03:00
parent b282df488f
commit 897d51b6e7

View File

@ -293,6 +293,8 @@ def run_tests_array(all_tests_with_params):
try: try:
sys.stdout.flush() sys.stdout.flush()
sys.stdout.write("{0:72}".format(name + ": ")) sys.stdout.write("{0:72}".format(name + ": "))
# This flush is needed so you can see the test name of the long running test before it will finish.
sys.stdout.flush()
if args.skip and any(s in name for s in args.skip): if args.skip and any(s in name for s in args.skip):
print(MSG_SKIPPED + " - skip") print(MSG_SKIPPED + " - skip")