Skip to content

Commit e5f60a5

Browse files
committed
test: Revert "test: split cgroup memory test by architecture for different OOM signals"
This reverts commit 9c6d5cd.
1 parent b7229f4 commit e5f60a5

1 file changed

Lines changed: 0 additions & 40 deletions

File tree

e2e/tests/security/cgroup.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
tests:
22
- name: "memory allocation beyond cgroup limit is killed"
3-
arch: [amd64]
43
requests:
54
- input:
65
runtime: go
@@ -37,42 +36,3 @@ tests:
3736
exit_code: 137
3837
status: "SIGNAL"
3938
signal: "SIGKILL"
40-
41-
- name: "memory allocation beyond cgroup limit is killed"
42-
arch: [arm64]
43-
requests:
44-
- input:
45-
runtime: go
46-
files:
47-
- name: main.go
48-
type: plain
49-
content: |
50-
package main
51-
52-
func main() {
53-
chunks := make([][]byte, 0)
54-
for {
55-
chunk := make([]byte, 10*1024*1024)
56-
for i := 0; i < len(chunk); i += 4096 {
57-
chunk[i] = 1
58-
}
59-
chunks = append(chunks, chunk)
60-
}
61-
}
62-
output:
63-
status: 200
64-
body:
65-
compile:
66-
stdout: ""
67-
stderr: ""
68-
output: ""
69-
exit_code: 0
70-
status: "OK"
71-
signal: null
72-
run:
73-
stdout: ""
74-
stderr: ""
75-
output: ""
76-
exit_code: 139
77-
status: "SIGNAL"
78-
signal: "SIGSEGV"

0 commit comments

Comments
 (0)