From 5cc92891712090ef86519e2c6e38e65ee408c68c Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Thu, 22 Feb 2018 15:53:47 -0500 Subject: [PATCH] Add missing env vars from unit test job This commit fixes an oversight in the tox job definitions for unit tests. Because for better or worse we still use oslotest as the base test class for tempest's unit tests the stdout, stderr, and logging capture fixtures are only enabled by an env var. We were never setting that, so these things weren't captured. This commit fixes the oversight to enable the capture of these once again. Change-Id: I81e4077dfda9e9a8a8001f52955ab0164f39d31d --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 892b6f434e..5644641fd0 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,9 @@ deps = setenv = VIRTUAL_ENV={envdir} OS_LOG_CAPTURE=1 + OS_STDOUT_CAPTURE=1 + OS_STDERR_CAPTURE=1 + OS_TEST_TIMEOUT=160 PYTHONWARNINGS=default::DeprecationWarning passenv = OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_TEST_TIMEOUT OS_TEST_LOCK_PATH TEMPEST_CONFIG TEMPEST_CONFIG_DIR http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY ZUUL_CACHE_DIR REQUIREMENTS_PIP_LOCATION GENERATE_TEMPEST_PLUGIN_LIST usedevelop = True