Skip to content

Commit 4b8e1ae

Browse files
laoneorichard67
andauthored
[5.3] Disable opcache as it makes the SEF system test flaky (#45608)
Co-authored-by: Richard Fath <[email protected]>
1 parent 3b8c49e commit 4b8e1ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/System/entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ chown -R www-data /tests/www/$TEST_GROUP/
2121
# Required for media manager tests
2222
chmod -R 777 /tests/www/$TEST_GROUP/images
2323

24+
# Disable opcache for configuration.php, otherwise there are issues when the config is changed in a test
25+
echo "/tests/www/$TEST_GROUP/configuration.php" > /tmp/blacklist.ini
26+
echo "opcache.blacklist_filename=/tmp/blacklist.ini" >> /etc/php/*/apache2/conf.d/10-opcache.ini
27+
2428
echo "[RUNNER] Start Apache"
2529
a2enmod rewrite
2630
apache2ctl -D FOREGROUND &

0 commit comments

Comments
 (0)