Skip to content

[fix] skip SQL Server integration test on arm64 - #4253

Merged
Aias00 merged 1 commit into
apache:masterfrom
Duansg:fix-test
Jul 27, 2026
Merged

[fix] skip SQL Server integration test on arm64#4253
Aias00 merged 1 commit into
apache:masterfrom
Duansg:fix-test

Conversation

@Duansg

@Duansg Duansg commented Jul 27, 2026

Copy link
Copy Markdown
Member

What's changed?

SqlServerJdbcTemplateIntegrationTest cannot run on arm64 hosts. Microsoft ships no arm64 image for SQL Server on Linux (2017-latest, 2019-latest and 2022-latest are all amd64-only), so under emulation sqlservr crashes on startup and never logs "SQL Server is now ready for client connections". The wait strategy then times out after ~68 minutes. Rosetta does not help.

This skips the class on arm64 via Assumptions.assumeFalse, checked before the Docker probe so no container is started. The full matrix still runs on the amd64 CI runners, so no coverage is lost.

On an Apple Silicon host: 4053 s error → 0.03 s skip.

Checklist

  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

@Aias00
Aias00 merged commit 0f6b995 into apache:master Jul 27, 2026
7 of 8 checks passed
@Duansg
Duansg deleted the fix-test branch July 27, 2026 12:27
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.

2 participants