From a9d438dc0fc4c0949bfc4387e970fc9fe4d8a65a Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sat, 10 Dec 2022 14:13:08 +1300 Subject: [PATCH] The PHP 8.2 container has deflate enabled in Apache2, disable it. This is causing a test to fail because we're being sent a gzip compressed result. My reading of the curl manpage says that it should be decompressed by curl, but it isn't. Let's just disable the deflate module. Here is what we're getting: Displaying diff for test 0548-iCal-PROPFIND ======================================= --- tests/regression-suite/0548-iCal-PROPFIND.result 2022-12-10 00:43:52.898403110 +0000 +++ tests/regression-suite/results/0548-iCal-PROPFIND 2022-12-10 00:45:11.378242838 +0000 @@ -1,1233 +1,12 @@ -HTTP/1.1 207 Multi-Status +HTTP/1.1 200 OK Date: Dow, 01 Jan 2000 00:00:00 GMT DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy -ETag: "ae8aac5229a8a5d9ee7c86100322162d" -Content-Length: 28703 -Content-Type: text/xml; charset="utf-8" +Content-Encoding: gzip +Content-Length: 2042 +Content-Type: text/html; charset=UTF-8 --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6863fc80..1ba45c4b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -221,6 +221,7 @@ test_bullseye_latestphp: - su postgres -c 'createuser testrunner --superuser' - pg_ctlcluster 13 main restart - a2enmod rewrite + - a2dismod -f deflate - apache2ctl start - useradd testrunner - cd testing && su testrunner -c 'IS_CI=yes ALLSUITES="regression-suite binding carddav scheduling" ./run_regressions.sh all x'