diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-07-22 18:05:29 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-07-22 19:46:52 +0300 |
commit | 010ececec7ab06d66d4ffda4dc05e4c5ea581dfb (patch) | |
tree | 03b7e2d018ea74283a562fee7236aea7ceedadc6 /tests | |
parent | f0a7b96e90ab2a4bea790488036d96183eb69df1 (diff) |
Let memory limit set in tests fit the used amount
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/MemoryInfoTest.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/lib/MemoryInfoTest.php b/tests/lib/MemoryInfoTest.php index 8feb4b6332d..f6557eed45c 100644 --- a/tests/lib/MemoryInfoTest.php +++ b/tests/lib/MemoryInfoTest.php @@ -60,10 +60,9 @@ class MemoryInfoTest extends TestCase { 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,], ]; } |