Skip to content

Commit c8692de

Browse files
committed
REVERTME: add debug statement to see where it crashes
1 parent cd45f7b commit c8692de

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

io/io/test/CMakeLists.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,18 @@ if(NOT _32BIT)
7171
MACRO testLargeCollection.cxx+
7272
OUTREF testLargeCollection.ref
7373
FIXTURES_REQUIRED io-io-testcoll-fixture)
74+
75+
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
76+
set_tests_properties(io-io-test-testLargeCollections PROPERTIES
77+
LABELS "alma10;arm64"
78+
RESOURCE_LOCK testLargeCollections_oom
79+
)
80+
add_test(NAME io-io-test-testLargeCollections-postcheck
81+
COMMAND bash -c "dmesg | grep -iE 'oom|killed process' | tail -20 || true"
82+
)
83+
set_tests_properties(io-io-test-testLargeCollections-postcheck PROPERTIES
84+
DEPENDS io-io-test-testLargeCollections
85+
LABELS "alma10;arm64"
86+
)
87+
endif()
7488
endif()

0 commit comments

Comments
 (0)