From 0b78284017683e366669510e3fccfd5ec91a644b Mon Sep 17 00:00:00 2001 From: Hector Ventura Date: Mon, 24 Aug 2026 17:54:59 -0500 Subject: [PATCH] test(kinesisanalytics): disable the Flink 1.18 lifecycle test on arm64 (#2547) apache/flink 1.15/1.18/1.19 publish amd64-only images, so on an arm64 host (the compat CI runners) the JobManager can never become healthy and KinesisAnalyticsV2Flink118Test burns its full 300-second RUNNING wait before skipping - 310s of the sdk-test-java leg for coverage that never ran. DisabledOnOs(architectures = "aarch64") skips the class at discovery on arm64 while keeping it live on amd64 machines, and leaves the Flink 2.x line (KinesisAnalyticsV2Flink23Test, multi-arch image) covering the real cluster path everywhere. --- .../floci/test/KinesisAnalyticsV2Flink118Test.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/compatibility-tests/sdk-test-java/src/test/java/com/floci/test/KinesisAnalyticsV2Flink118Test.java b/compatibility-tests/sdk-test-java/src/test/java/com/floci/test/KinesisAnalyticsV2Flink118Test.java index b8aeeab145..ab68986ad8 100644 --- a/compatibility-tests/sdk-test-java/src/test/java/com/floci/test/KinesisAnalyticsV2Flink118Test.java +++ b/compatibility-tests/sdk-test-java/src/test/java/com/floci/test/KinesisAnalyticsV2Flink118Test.java @@ -1,8 +1,19 @@ package com.floci.test; import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.condition.DisabledOnOs; -/** Runs the Managed Flink lifecycle against the Flink 1.x line (FLINK-1_18). */ +/** + * Runs the Managed Flink lifecycle against the Flink 1.x line (FLINK-1_18). + * + *

Disabled on arm64: apache/flink 1.15/1.18/1.19 publish amd64-only images, so on an + * arm64 host (the CI runners) the JobManager can never become healthy and the RUNNING + * wait burns its full 300s budget before skipping. Flink 1.x coverage on arm64 would + * need a multi-arch mirror; until then the 2.x line ({@link KinesisAnalyticsV2Flink23Test}) + * keeps the real-cluster path covered there. + */ +@DisabledOnOs(architectures = "aarch64", + disabledReason = "apache/flink:1.18 has no arm64 image; the cluster cannot start") @DisplayName("Managed Service for Apache Flink — Flink 1.18") class KinesisAnalyticsV2Flink118Test extends AbstractKinesisAnalyticsV2LifecycleTest {