aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-07-22 17:05:29 +0200
committerJulius Härtl <jus@bitgrid.net>2021-07-22 17:05:29 +0200
commit858d8469995ff3a5979c1fe12bd762a60b550fa0 (patch)
tree475d28492ce64a91cdb49263d3198728a6de2195 /tests
parent4301267373ed6bb215a0f193ffacbc92f9781255 (diff)
downloadnextcloud-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.php7
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,],
];
}