]> git.ipfire.org Git - thirdparty/bind9.git/commit
Disable pytest cacheprovider plugin in CI
authorMichal Nowak <mnowak@isc.org>
Thu, 29 Apr 2021 09:19:13 +0000 (11:19 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 29 Apr 2021 13:49:44 +0000 (15:49 +0200)
commita4ef2de0c7e3295bd0f22fb0609004e2ce15cc91
treeb22df4f13cd57813dae8893c16a68658d161d1f9
parentb63c90a09cd315bf05d250e87e58d269e8f40ef7
Disable pytest cacheprovider plugin in CI

The pytest "cacheprovider" plugin produces a .cache/v/cache/lastfailed
file, which holds a Python dictionary structure with failed tests.
However, on Ubuntu 16.04 (Xenial) the file is created even though the
test passed and the file contains just an empty dictionary ("{}").

Given that we are not interested in this feature, disabling the
"cacheprovider" plugin globally and removing per-test removals of the
.cache directory seems like the best course of action.

(cherry picked from commit e1c30341076e0e1e76fbbb6cad6eb8086e6fc0e6)
.gitlab-ci.yml
bin/tests/system/.gitignore
bin/tests/system/shutdown/clean.sh
bin/tests/system/statschannel/.gitignore
bin/tests/system/statschannel/clean.sh
bin/tests/system/timeouts/clean.sh