Skip to content

Commit

Permalink
Skip TestConcurrentFillFromScalar for platforms without threading sup…
Browse files Browse the repository at this point in the history
…port
  • Loading branch information
zanmato1984 committed Apr 30, 2024
1 parent 4b2cf22 commit bb87a96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/src/arrow/array/array_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,9 @@ TEST_F(TestArray, TestFillFromScalar) {
// GH-40069: Data-race when concurrent calling ArraySpan::FillFromScalar of the same
// scalar instance.
TEST_F(TestArray, TestConcurrentFillFromScalar) {
#ifndef ARROW_ENABLE_THREADING
GTEST_SKIP() << "Test requires threading support";
#endif
for (auto type : TestArrayUtilitiesAgainstTheseTypes()) {
ARROW_SCOPED_TRACE("type = ", type->ToString());
for (auto seed : {0u, 0xdeadbeef, 42u}) {
Expand Down

0 comments on commit bb87a96

Please sign in to comment.