Skip to content

Commit

Permalink
databend-test print more std err
Browse files Browse the repository at this point in the history
  • Loading branch information
TCeason committed Jan 15, 2025
1 parent feee99b commit 11f3a5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/databend-test
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def run_tests_array(all_tests_with_params):
if os.path.isfile(stdout_file):
status += ", result:\n\n"
status += '\n'.join(
open(stdout_file).read().split('\n')[:100])
open(stdout_file).read().split('\n')[:300])
status += '\n'

elif stderr:
Expand All @@ -336,15 +336,15 @@ def run_tests_array(all_tests_with_params):
status += MSG_FAIL
status += print_test_time(total_time)
status += " - having stderror:\n{}\n".format(
'\n'.join(stderr.split('\n')[:100]))
'\n'.join(stderr.split('\n')[:300]))
elif 'Exception' in stdout:
failures += 1
failure_cases.append(case_file_full_path)
failures_chain += 1
status += MSG_FAIL
status += print_test_time(total_time)
status += " - having exception:\n{}\n".format(
'\n'.join(stdout.split('\n')[:100]))
'\n'.join(stdout.split('\n')[:300]))
elif not os.path.isfile(result_file):
status += MSG_UNKNOWN
status += print_test_time(total_time)
Expand Down

0 comments on commit 11f3a5e

Please sign in to comment.