Skip to content

Commit 14e4684

Browse files
zanmato1984raulcd
authored andcommitted
GH-43116: [C++][Compute] Mark KeyCompare.CompareColumnsToRowsLarge as large memory test (#43128)
### Rationale for this change This test consumes more than 4GB memory and causes oom-kill when running with TSAN as reported in #43116 . ### What changes are included in this PR? Limit its running by marking it as large memory test. ### Are these changes tested? Change is test. ### Are there any user-facing changes? None. * GitHub Issue: #43116 Authored-by: Ruoxi Sun <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
1 parent e05f3d9 commit 14e4684

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cpp/src/arrow/compute/row/compare_test.cc

+1-3
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,9 @@ TEST(KeyCompare, CompareColumnsToRowsTempStackUsage) {
166166
}
167167
}
168168

169-
#ifndef ARROW_VALGRIND
170169
// Compare columns to rows at offsets over 2GB within a row table.
171170
// Certain AVX2 instructions may behave unexpectedly causing troubles like GH-41813.
172-
TEST(KeyCompare, CompareColumnsToRowsLarge) {
171+
TEST(KeyCompare, LARGE_MEMORY_TEST(CompareColumnsToRowsLarge)) {
173172
if constexpr (sizeof(void*) == 4) {
174173
GTEST_SKIP() << "Test only works on 64-bit platforms";
175174
}
@@ -300,7 +299,6 @@ TEST(KeyCompare, CompareColumnsToRowsLarge) {
300299
num_rows);
301300
}
302301
}
303-
#endif // ARROW_VALGRIND
304302

305303
} // namespace compute
306304
} // namespace arrow

0 commit comments

Comments
 (0)