unit-test, arm64: Add memory limit for prlimit test (#3468)

Signed-off-by: howard zhang <howard.zhang@arm.com>
This commit is contained in:
zhlhahaha 2024-10-22 20:06:49 +08:00 committed by GitHub
parent 5f66979d7c
commit 7a7f41d526
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,8 +42,8 @@ var _ = Describe("Process Limits", func() {
realLimits := &ProcessLimitValues{1 << 30, 10}
//workaround for https://github.com/kubevirt/containerized-data-importer/issues/3341
if runtime.GOARCH == "s390x" {
//workaround for issue #3341 and #3467
if runtime.GOARCH == "s390x" || runtime.GOARCH == "arm64" {
realLimits = &ProcessLimitValues{1 << 31, 10}
}