Skip to content

GH-51687: [C++] Skipt tests that require threads if ARROW_ENABLE_THREADING=OFF - #51688

Merged
zanmato1984 merged 1 commit into
apache:mainfrom
raulcd:GH-51687
Oct 2, 2026
Merged

zanmato1984 merged 1 commit into
apache:mainfrom
raulcd:GH-51687

Conversation

@raulcd

@raulcd raulcd commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Rationale for this change

The following PR introduced some tests that require threeading but those are not skipped when ARROW_ENABLE_THREADING=OFF failing on jobs like emscripten.

What changes are included in this PR?

Skip the tests if ARROW_ENABLE_THREADING=OFF

Are these changes tested?

Yes via archer with the failing job.

Are there any user-facing changes?

No

Was AI used for this PR?

In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.

PR code and description written by:

  • Human
  • AI

Reviewed before submission by:

  • Human
  • AI
  • Not reviewed

Copilot AI balanced review requested due to automatic review settings October 2, 2026 07:42
@raulcd

raulcd commented Oct 2, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-ubuntu-22.04-cpp-emscripten

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The guards correctly cover all three affected tests and follow existing repository conventions.

Review effort: Balanced
Findings: None

What changed in this PR

Skips thread-dependent async generator tests when Arrow is built without threading support.

Changes:

  • Adds ARROW_ENABLE_THREADING guards to three concurrency tests.
File Description
cpp/​src/​arrow/​util/​async_generator_test.cc Skips tests that create threads when threading is disabled.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

Revision: d9a22e0

Submitted crossbow builds: ursacomputing/crossbow @ actions-4481546a7e

Task Status
test-ubuntu-22.04-cpp-emscripten GitHub Actions

@raulcd
raulcd requested a review from zanmato1984 October 2, 2026 08:08

@zanmato1984 zanmato1984 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Thanks for fixing this.

@zanmato1984
zanmato1984 merged commit 676dd43 into apache:main Oct 2, 2026
65 of 66 checks passed
@zanmato1984 zanmato1984 removed the awaiting committer review Awaiting committer review label Oct 2, 2026
raulcd added a commit that referenced this pull request Oct 5, 2026
…ADING=OFF (#51688)

### Rationale for this change

The following PR introduced some tests that require threeading but those are not skipped when ARROW_ENABLE_THREADING=OFF failing on jobs like emscripten.
- #51498

### What changes are included in this PR?

Skip the tests if ARROW_ENABLE_THREADING=OFF

### Are these changes tested?

Yes via archer with the failing job.

### Are there any user-facing changes?

No

### Was AI used for this PR?

In accordance to the [AI generation guidelines](https://arrow.apache.org/docs/dev/developers/overview.html#ai-generated-code), please disclose below whether and how AI was used in this PR.

**PR code and description written by:**

- [x] Human
- [ ] AI

**Reviewed before submission by:**

- [x] Human
- [ ] AI
- [ ] Not reviewed

* GitHub Issue: #51687

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Rossi Sun <zanmato1984@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants