Skip to content

Commit

Permalink
Add time system level test logs
Browse files Browse the repository at this point in the history
We see the python log entries in the CI jobs output, but unfortunately
jenkins adds some misleading time stamps to the output. This changes
tries to prevent that confusion by adding the time of the log entry to
the output during logging.

Change-Id: I720bada38c8e790f83b9554b4c65c2ae80253c0c
  • Loading branch information
LarsMichelsen committed Feb 10, 2025
1 parent d9e7e27 commit 98cb941
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ SYSTEM_TESTS := \
test-gui-e2e-cme \
test-gui-e2e-cse \
test-extension-compatibility
PYTEST_SYSTEM_TEST_ARGS := -p "no:cov" --log-cli-level=INFO
PYTEST_SYSTEM_TEST_ARGS := \
-p "no:cov" \
--log-cli-level=INFO \
--log-cli-format="%(asctime)s.%(msecs)03d %(levelname)s %(message)s"

# HINT: the "layering_violation" checker is not production ready and left out on purpose
PYLINT_CUSTOM_CHECKERS := cmk-module-layer-violation,localization-html-tags-checker,localization-literal-string-checker
Expand Down

0 comments on commit 98cb941

Please sign in to comment.