Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions integ-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -1354,6 +1354,20 @@ task integTestRemote(type: RestIntegTestTask) {
// - STREAMSTATS_SORT_NOT_HONORED: streamstats computes its window over the backend scan
// order, ignoring a preceding `| sort` (the OVER clause has no explicit ORDER BY).
excludeTestsMatching '*CalciteStreamstatsCommandIT.testStreamstatsAndSort'
} else {
// Suites that require the analytics-engine plugin stack. They create composite
// (parquet-backed) indices and depend on the node-level settings
// opensearch.experimental.feature.pluggable.dataformat.enabled and
// opensearch.experimental.feature.transport.stream.enabled. Each already has a
// dedicated task whose testClusters block provisions that stack --
// :analyticsEngineCompatIT, :analyticsEngineSecurityIT and :analyticsEngineProfileIT --
// whereas integTestRemote runs against an externally provided cluster and can neither
// install plugins nor set node settings, so they fail during setup instead of being
// skipped. Gated here rather than listed with the exclusions below so that all
// analytics-engine filtering for this task stays in one place.
excludeTestsMatching 'org.opensearch.sql.plugin.AnalyticsEngineCompatIT'
excludeTestsMatching 'org.opensearch.sql.security.AnalyticsEngineSecurityIT'
excludeTestsMatching 'org.opensearch.sql.analytics.AnalyticsEngineProfileIT'
}
}

Expand All @@ -1366,4 +1380,14 @@ task integTestRemote(type: RestIntegTestTask) {
exclude 'org/opensearch/sql/legacy/QueryAnalysisIT.class'
exclude 'org/opensearch/sql/legacy/OrderIT.class'
exclude 'org/opensearch/sql/jdbc/**'

// Suites that query a Prometheus datasource and so need a running Prometheus instance.
// integTest applies the same condition (it starts Prometheus itself unless -DignorePrometheus
// is passed, and never on Windows); this task honours the flag so a caller pointing it at an
// environment without Prometheus gets the suites skipped rather than failing during setup.
if(getOSFamilyType() == "windows" || ignorePrometheus) {
exclude 'org/opensearch/sql/ppl/PrometheusDataSourceCommandsIT.class'
exclude 'org/opensearch/sql/ppl/ShowDataSourcesCommandIT.class'
exclude 'org/opensearch/sql/ppl/InformationSchemaCommandIT.class'
}
}
Loading