Skip to content

Commit

Permalink
Allow EMIT messages in NLT tests
Browse files Browse the repository at this point in the history
Cancel-prev-build: true
Allow-unstable-test: false
Skip-build-ubuntu20-rpm: true
Skip-build-leap15-rpm: true
Skip-build-leap15-icc: true
Skip-build-el9-rpm: true
Skip-nlt: false
Skip-unit-tests: false
Skip-unit-test-memcheck: true
Skip-func-test-vm: true
Skip-test-rpms: true
Skip-func-hw-test-large: true
Skip-func-hw-test-medium: true
Skip-func-hw-test-medium-verbs-provider: true
Skip-func-hw-test-medium-md-on-ssd: true

Required-githooks: true

Signed-off-by: Tomasz Gromadzki <[email protected]>
  • Loading branch information
grom72 committed Sep 3, 2024
1 parent 54b4f87 commit ad62bd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/ftest/cart/util/cart_logtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ def _check_pid_from_log_file(self, pid, abort_on_warning, leak_wf, show_memleaks
if show:
# Allow WARNING or ERROR messages, but anything higher like assert should
# trigger a failure.
if line.level < cart_logparse.LOG_LEVELS['ERR']:
if line.level < cart_logparse.LOG_LEVELS['ERR'] and not line.level \
== cart_logparse.LOG_LEVELS['EMIT']:
show_line(line, 'HIGH', 'error in strict mode')
else:
show_line(line, 'NORMAL', 'warning in strict mode')
Expand Down

0 comments on commit ad62bd1

Please sign in to comment.