Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable22] Let memory limit set in tests fit the used amount #28123

Merged
merged 1 commit into from
Jul 22, 2021
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
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