Skip to content

Commit 44e5256

Browse files
committed
tests: print last lines in debug log (those are most useful for debugging)
1 parent f06768a commit 44e5256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/clickhouse-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ class TestCase:
15711571
stderr += str(stdfd.read(), errors="replace", encoding="utf-8")
15721572

15731573
if debug_log:
1574-
debug_log = "\n".join(debug_log.splitlines()[:100])
1574+
debug_log = "\n".join(debug_log.splitlines()[-100:])
15751575

15761576
if proc:
15771577
if proc.returncode is None:

0 commit comments

Comments
 (0)