Update nose tests target to exclude resource registrar debug log
messages by default.
This should make troubleshooting failures a lot easier - before that
change, those log messages would add tons of noise (we load resource
fixtures for each single test) and make actual test failures hard to
troubleshoot.
@@ -62,14 +62,17 @@ ifndef PYLINT_CONCURRENCY
PYLINT_CONCURRENCY := 1
endif
-NOSE_OPTS := --rednose --immediate --with-parallel --nocapture
+# NOTE: We exclude resourceregistrar DEBUG level log messages since those are very noisy (we
+# loaded resources for every tests) which makes tests hard to troubleshoot on failure due to
+# pages and pages and pages of noise.
+NOSE_OPTS := --rednose --immediate --with-parallel --nocapture --logging-filter=-st2.st2common.bootstrap
ifndef NOSE_TIME
NOSE_TIME := yes
endif
ifeq ($(NOSE_TIME),yes)
- NOSE_OPTS := --rednose --immediate --with-parallel --with-timer --nocapture
+ NOSE_OPTS := --rednose --immediate --with-parallel --with-timer --nocapture --logging-filter=-st2.st2common.bootstrap
NOSE_WITH_TIMER := 1
endif
