diff options
author | Pytal <24800714+Pytal@users.noreply.github.com> | 2021-07-22 09:38:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-22 09:38:56 -0700 |
commit | 288094113127dd5140511c8d0c52d6d8279724c9 (patch) | |
tree | 475d28492ce64a91cdb49263d3198728a6de2195 | |
parent | 4301267373ed6bb215a0f193ffacbc92f9781255 (diff) | |
parent | 858d8469995ff3a5979c1fe12bd762a60b550fa0 (diff) | |
download | nextcloud-server-288094113127dd5140511c8d0c52d6d8279724c9.tar.gz nextcloud-server-288094113127dd5140511c8d0c52d6d8279724c9.zip |
Merge pull request #28122 from nextcloud/tests/nodb-memoryinfo
Let memory limit set in tests fit the used amount
-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,], ]; } |