Skip to content

Commit 71a96e3

Browse files
authored
test(integ-test): exclude AnalyticsEngineCompatIT from the main integTest task (#5502)
AnalyticsEngineCompatIT (package org.opensearch.sql.plugin) is a smoke test that only makes sense against a cluster bundling the analytics-engine plugin stack. It is provisioned and run by the dedicated :analyticsEngineCompatIT task (testClusters.analyticsEngineCompat), which adds arrow-base, arrow-flight-rpc and analytics-engine. The main integTest task selects tests by exclusion and excluded org/opensearch/sql/security/** ("executed in another task") but never excluded this smoke test, so it also ran against the plain integTest/remoteCluster (neither of which has analytics-engine). There it is useless and exposed to suite-wide infra flakiness; in a recent CI run it was the descriptor recorded as failed after the test JVM wedged for ~4.5h. Exclude the specific AnalyticsEngineCompatIT class, matching the per-class exclude style already used in this task (e.g. legacy/ExplainIT.class). Signed-off-by: Kai Huang <ahkcs@amazon.com>
1 parent 97d072d commit 71a96e3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

integ-test/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,12 @@ integTest {
726726
// Exclude this IT, because they executed in another task (:integTestWithSecurity)
727727
exclude 'org/opensearch/sql/security/**'
728728

729+
// Exclude the analytics-engine smoke test, because it executes in another task
730+
// (:analyticsEngineCompatIT) against a cluster that bundles the analytics-engine plugin
731+
// stack. Running it here against the plain integTest/remoteCluster (no analytics-engine)
732+
// is pointless and leaves it exposed to suite-wide infra flakiness.
733+
exclude 'org/opensearch/sql/plugin/AnalyticsEngineCompatIT.class'
734+
729735
// Workaround for Gradle 9.4.1 ClassCastException in TestEventReporterAsListener.started
730736
// (line 58) — the bridge casts a parent test descriptor's reporter to
731737
// GroupTestEventReporterInternal but a class-level @Ignore produces a non-composite parent

0 commit comments

Comments
 (0)