summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSlawek Kaplonski <skaplons@redhat.com>2021-03-02 15:34:21 +0100
committerSlawek Kaplonski <skaplons@redhat.com>2021-03-02 15:34:21 +0100
commit14955f93f6841fc65b7d761f15cf2227f31042d8 (patch)
tree2a65ab54407851887504976ec527440258d700eb /tox.ini
parent77ee0847f5fe886ae6a1c4a9b9949d3590567e0d (diff)
downloadneutron-14955f93f6841fc65b7d761f15cf2227f31042d8.tar.gz
Ignore python warnings in the fullstack job
If there is too much output produced to the stdout/stderr during the tests, stestr can hangs and job will then time out. To avoid that in fullstack job, this patch is doing the same what was already done for functional job as well - set PYTHONWARNINGS variable to "ignore" to ignore all warnings and not send them to stdout. All info really needed to debug tests is still in the tests' logs in specific directories. Change-Id: I080381cb8a88a27130ac21c0e27fc915e38bdedd
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 3c186b8e65..6807042ce6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -72,6 +72,9 @@ setenv = {[testenv]setenv}
# workaround for DB teardown lock contention (bug/1541742)
OS_TEST_TIMEOUT={env:OS_TEST_TIMEOUT:600}
OS_TEST_PATH=./neutron/tests/fullstack
+# Because of issue with stestr and Python3, we need to avoid too much output
+# to be produced during tests, so we will ignore python warnings here
+ PYTHONWARNINGS=ignore
deps =
{[testenv:functional]deps}
commands =