Commit 12562428837 for php
commit 12562428837f5db6915dbbb5735ee4983ed9fd87
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date: Sun Nov 1 14:08:11 2026 +0100
Fix coverage nightly job failure
diff --git a/ext/session/tests/session_write_failure_keeps_data.phpt b/ext/session/tests/session_write_failure_keeps_data.phpt
index 7ef38fccea1..232b3e5313c 100644
--- a/ext/session/tests/session_write_failure_keeps_data.phpt
+++ b/ext/session/tests/session_write_failure_keeps_data.phpt
@@ -40,6 +40,9 @@
$_SESSION['data'] = 'new';
@session_write_close();
+// Restore the limit so that shutdown (and gcov) can write files
+posix_setrlimit(POSIX_RLIMIT_FSIZE, POSIX_RLIMIT_INFINITY, POSIX_RLIMIT_INFINITY);
+
echo "Contents unchanged after failed write: ";
var_dump(file_get_contents($file) === $before);