Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Let memory limit set in tests fit the used amount
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Jul 22, 2021
commit 858d8469995ff3a5979c1fe12bd762a60b550fa0
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