Skip to content

Commit

Permalink
Merge pull request #28125 from nextcloud/backport/28122/stable20
Browse files Browse the repository at this point in the history
[stable20] Let memory limit set in tests fit the used amount
  • Loading branch information
juliusknorr authored Jul 22, 2021
2 parents f0a7b96 + 010ecec commit d683c92
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/lib/MemoryInfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,],
];
}
Expand Down

0 comments on commit d683c92

Please sign in to comment.