Skip httpd integration tests

We can't run these tests with abuild user in build environment.
This commit is contained in:
2025-11-04 12:07:34 +01:00
parent 8d6cd3aefd
commit 9b5844dd24
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 4 11:06:31 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Skip httpd integration tests, we can't run these tests with abuild
user in build environment.
-------------------------------------------------------------------
Mon Jul 14 15:24:24 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -108,7 +108,10 @@ export SERVER_FIXTURES_HTTPD_MODULES=$(ls -1d /usr/lib*/apache2)
export SERVER_FIXTURES_HTTPD=httpd
export SERVER_FIXTURES_REDIS=%{_sbindir}/redis-server
# gh#man-group/pytest-plugins#177
%pytest -k 'not test_init'
donttest="test_init"
# httpd -f can't be run as abuild user
# mkdir: cannot create directory /etc/apache2/sysconfig.d/: Permission denied
%pytest -k "not ($donttest)" --ignore tests/integration/test_httpd_proxy_server.py
%files %{python_files}
%doc CHANGES.md README.md