mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Automatic style fix
This commit is contained in:
parent
f5e439d9df
commit
501d210647
@ -1174,7 +1174,10 @@ class TestCase:
|
|||||||
|
|
||||||
description_full += result.description
|
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(
|
clickhouse_execute(
|
||||||
args,
|
args,
|
||||||
f"INSERT INTO system.coverage SELECT now(), '{self.case}', coverage()",
|
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.
|
# 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(
|
clickhouse_execute(
|
||||||
args,
|
args,
|
||||||
"SYSTEM RESET COVERAGE",
|
"SYSTEM RESET COVERAGE",
|
||||||
@ -2363,7 +2369,10 @@ def main(args):
|
|||||||
print(f"Failed to create databases for tests: {e}")
|
print(f"Failed to create databases for tests: {e}")
|
||||||
server_died.set()
|
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(
|
clickhouse_execute(
|
||||||
args,
|
args,
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user