This is an automated email from the ASF dual-hosted git repository.

Aias00 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f6b995be2 [fix] skip SQL Server integration test on arm64 (#4253)
0f6b995be2 is described below

commit 0f6b995be2a81e378d316c571b9a7f67ef161bbd
Author: Duansg <[email protected]>
AuthorDate: Mon Jul 27 20:20:30 2026 +0800

    [fix] skip SQL Server integration test on arm64 (#4253)
---
 .../database/sqlserver/SqlServerJdbcTemplateIntegrationTest.java | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git 
a/hertzbeat-collector/hertzbeat-collector-collector/src/test/java/org/apache/hertzbeat/collector/collect/database/sqlserver/SqlServerJdbcTemplateIntegrationTest.java
 
b/hertzbeat-collector/hertzbeat-collector-collector/src/test/java/org/apache/hertzbeat/collector/collect/database/sqlserver/SqlServerJdbcTemplateIntegrationTest.java
index 954c27e4e6..56313e57cb 100644
--- 
a/hertzbeat-collector/hertzbeat-collector-collector/src/test/java/org/apache/hertzbeat/collector/collect/database/sqlserver/SqlServerJdbcTemplateIntegrationTest.java
+++ 
b/hertzbeat-collector/hertzbeat-collector-collector/src/test/java/org/apache/hertzbeat/collector/collect/database/sqlserver/SqlServerJdbcTemplateIntegrationTest.java
@@ -85,6 +85,15 @@ class SqlServerJdbcTemplateIntegrationTest {
 
     @BeforeAll
     void setUp() throws Exception {
+        // Checked before the Docker probe so the skip costs nothing: 
Microsoft ships
+        // no arm64 image for SQL Server on Linux -- 2017, 2019 and 2022 are 
all
+        // amd64-only.  Under emulation on Apple Silicon sqlservr crashes 
during
+        // startup (core dump, never logs "ready for client connections"), and
+        // Rosetta does not help.  This is not a timeout to be tuned: the full
+        // version matrix runs on the amd64 CI runners instead.
+        Assumptions.assumeFalse(
+                "aarch64".equals(System.getProperty("os.arch")),
+                "SQL Server has no arm64 image; matrix runs on amd64 CI");
         Assumptions.assumeTrue(
                 DockerClientFactory.instance().isDockerAvailable(),
                 "Docker is required for integration tests");


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to