From 010ececec7ab06d66d4ffda4dc05e4c5ea581dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 22 Jul 2021 17:05:29 +0200 Subject: [PATCH] Let memory limit set in tests fit the used amount MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- tests/lib/MemoryInfoTest.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/lib/MemoryInfoTest.php b/tests/lib/MemoryInfoTest.php index 8feb4b6332dbb..f6557eed45cd7 100644 --- a/tests/lib/MemoryInfoTest.php +++ b/tests/lib/MemoryInfoTest.php @@ -60,10 +60,9 @@ public function restoreMemoryInfoIniSetting() { public function getMemoryLimitTestData(): array { return [ 'unlimited' => ['-1', -1,], - '0' => ['0', 0,], - '134217728 bytes' => ['134217728', 134217728,], - '128M' => ['128M', 134217728,], - '131072K' => ['131072K', 134217728,], + '524288000 bytes' => ['524288000', 524288000,], + '500M' => ['500M', 524288000,], + '512000K' => ['512000K', 524288000,], '2G' => ['2G', 2147483648,], ]; }