diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-07-22 17:05:29 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-07-22 17:05:29 +0200 |
commit | 858d8469995ff3a5979c1fe12bd762a60b550fa0 (patch) | |
tree | 475d28492ce64a91cdb49263d3198728a6de2195 /tests | |
parent | 4301267373ed6bb215a0f193ffacbc92f9781255 (diff) | |
download | nextcloud-server-858d8469995ff3a5979c1fe12bd762a60b550fa0.tar.gz nextcloud-server-858d8469995ff3a5979c1fe12bd762a60b550fa0.zip |
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,], ]; } |