зеркало из https://github.com/nextcloud/server.git
Let memory limit set in tests fit the used amount
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Родитель
4301267373
Коммит
858d846999
|
@ -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,],
|
||||
];
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче