Skip to content

Commit 11f3a5e

Browse files
committed
databend-test print more std err
1 parent feee99b commit 11f3a5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/databend-test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def run_tests_array(all_tests_with_params):
326326
if os.path.isfile(stdout_file):
327327
status += ", result:\n\n"
328328
status += '\n'.join(
329-
open(stdout_file).read().split('\n')[:100])
329+
open(stdout_file).read().split('\n')[:300])
330330
status += '\n'
331331

332332
elif stderr:
@@ -336,15 +336,15 @@ def run_tests_array(all_tests_with_params):
336336
status += MSG_FAIL
337337
status += print_test_time(total_time)
338338
status += " - having stderror:\n{}\n".format(
339-
'\n'.join(stderr.split('\n')[:100]))
339+
'\n'.join(stderr.split('\n')[:300]))
340340
elif 'Exception' in stdout:
341341
failures += 1
342342
failure_cases.append(case_file_full_path)
343343
failures_chain += 1
344344
status += MSG_FAIL
345345
status += print_test_time(total_time)
346346
status += " - having exception:\n{}\n".format(
347-
'\n'.join(stdout.split('\n')[:100]))
347+
'\n'.join(stdout.split('\n')[:300]))
348348
elif not os.path.isfile(result_file):
349349
status += MSG_UNKNOWN
350350
status += print_test_time(total_time)

0 commit comments

Comments
 (0)