[K/N][test] Disable array allocation test on Linux
The test allocates a lot of memory and can cause OOM-killer on Linux with 16 Gb RAM or less kill Gradle daemon. Merge-request: KT-MR-13131 Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
1384377fec
commit
7623d5e3eb
@@ -2840,6 +2840,9 @@ standaloneTest("stress_gc_allocations") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
standaloneTest("array_out_of_memory") {
|
standaloneTest("array_out_of_memory") {
|
||||||
|
// This test allocs a large array that may make Linux
|
||||||
|
// kill any process inlcuding Gradle with OOM-killer
|
||||||
|
enabled = project.target.family != Family.LINUX
|
||||||
source = "runtime/memory/array_out_of_memory.kt"
|
source = "runtime/memory/array_out_of_memory.kt"
|
||||||
flags = ['-tr']
|
flags = ['-tr']
|
||||||
switch(project.target.architecture) {
|
switch(project.target.architecture) {
|
||||||
|
|||||||
Reference in New Issue
Block a user