diff options
author | Slawek Kaplonski <skaplons@redhat.com> | 2021-03-02 15:34:21 +0100 |
---|---|---|
committer | Slawek Kaplonski <skaplons@redhat.com> | 2021-03-02 15:34:21 +0100 |
commit | 14955f93f6841fc65b7d761f15cf2227f31042d8 (patch) | |
tree | 2a65ab54407851887504976ec527440258d700eb /tox.ini | |
parent | 77ee0847f5fe886ae6a1c4a9b9949d3590567e0d (diff) | |
download | neutron-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.ini | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 = |