mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Automatic style fix
This commit is contained in:
parent
f5e439d9df
commit
501d210647
@ -1174,7 +1174,10 @@ class TestCase:
|
||||
|
||||
description_full += result.description
|
||||
|
||||
if args.collect_per_test_coverage and BuildFlags.SANITIZE_COVERAGE in args.build_flags:
|
||||
if (
|
||||
args.collect_per_test_coverage
|
||||
and BuildFlags.SANITIZE_COVERAGE in args.build_flags
|
||||
):
|
||||
clickhouse_execute(
|
||||
args,
|
||||
f"INSERT INTO system.coverage SELECT now(), '{self.case}', coverage()",
|
||||
@ -1248,7 +1251,10 @@ class TestCase:
|
||||
)
|
||||
|
||||
# We want to calculate per-test code coverage. That's why we reset it before each test.
|
||||
if args.collect_per_test_coverage and BuildFlags.SANITIZE_COVERAGE in args.build_flags:
|
||||
if (
|
||||
args.collect_per_test_coverage
|
||||
and BuildFlags.SANITIZE_COVERAGE in args.build_flags
|
||||
):
|
||||
clickhouse_execute(
|
||||
args,
|
||||
"SYSTEM RESET COVERAGE",
|
||||
@ -2363,7 +2369,10 @@ def main(args):
|
||||
print(f"Failed to create databases for tests: {e}")
|
||||
server_died.set()
|
||||
|
||||
if args.collect_per_test_coverage and BuildFlags.SANITIZE_COVERAGE in args.build_flags:
|
||||
if (
|
||||
args.collect_per_test_coverage
|
||||
and BuildFlags.SANITIZE_COVERAGE in args.build_flags
|
||||
):
|
||||
clickhouse_execute(
|
||||
args,
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user