Skip to content

Commit 40d1b87

Browse files
authored
Unit Testing: Do no run in debug mode in order to reduce logging
Viewing a failed test in the GHA logs is not very helpful without rendering the raw view because there are 50k+ lines of debug logs. Reducing the logging verbosity would make the tests quite a bit faster as well as finding failures easier in the GHA UI
1 parent 797bd24 commit 40d1b87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.override.unit_tests_cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
- "defectdojo_media_unit_tests:${DD_MEDIA_ROOT:-/app/media}"
1515
environment:
1616
PYTHONWARNINGS: error # We are strict about Warnings during testing
17-
DD_DEBUG: 'True'
17+
DD_DEBUG: 'False'
1818
DD_LOG_LEVEL: 'ERROR'
1919
DD_TEST_DATABASE_NAME: ${DD_TEST_DATABASE_NAME:-test_defectdojo}
2020
DD_DATABASE_NAME: ${DD_TEST_DATABASE_NAME:-test_defectdojo}

0 commit comments

Comments
 (0)