mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
fix parser
This commit is contained in:
parent
8f9ccdf69c
commit
85a6bb1d1f
@ -16,9 +16,9 @@ FUZZER_ARGS = os.getenv("FUZZER_ARGS", "")
|
||||
|
||||
|
||||
def report(source: str, reason: str, call_stack: list, test_unit: str):
|
||||
print(f"########### REPORT: {source} {reason} {test_unit}")
|
||||
print("".join(call_stack))
|
||||
print("########### END OF REPORT ###########")
|
||||
logging.info("########### REPORT: %s %s %s", source, reason, test_unit)
|
||||
logging.info("".join(call_stack))
|
||||
logging.info("########### END OF REPORT ###########")
|
||||
|
||||
|
||||
# pylint: disable=unused-argument
|
||||
@ -157,7 +157,7 @@ def run_fuzzer(fuzzer: str, timeout: int):
|
||||
)
|
||||
except subprocess.CalledProcessError as e:
|
||||
# print("Command failed with error:", e)
|
||||
print("Stderr output: ", e.stderr)
|
||||
logging.info("Stderr output: %s", e.stderr)
|
||||
process_error(e.stderr)
|
||||
except subprocess.TimeoutExpired as e:
|
||||
logging.info("Timeout for %s", cmd_line)
|
||||
|
Loading…
Reference in New Issue
Block a user