We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2dd48ed + 1c423f2 commit 82fa2caCopy full SHA for 82fa2ca
tests/clickhouse-test
@@ -1632,7 +1632,9 @@ class TestCase:
1632
description,
1633
)
1634
1635
- if "Exception" in stdout and "X-ClickHouse-Exception-Code" not in stdout:
+ # "X-ClickHouse-Exception-Code" included in "Access-Control-Expose-Headers"
1636
+ # "Exception" may be included into i.e. metric name
1637
+ if re.search(r'(^|\W)(Net|Errno|)Exception(\W|$)', stdout) and "X-ClickHouse-Exception-Code" not in stdout:
1638
description += "\n{}\n".format("\n".join(stdout.splitlines()[:100]))
1639
if debug_log:
1640
description += "\n"
0 commit comments