Skip to content

Commit a51cc37

Browse files
committed
Add analytics-engine plugin to all test clusters
Every test cluster that loads opensearch-sql-plugin needs the analytics-engine plugin because SQL declares it as extendedPlugins. Added to yamlRestTest, integTestWithSecurity, remoteIntegTestWithSecurity, and integJdbcTest clusters. Signed-off-by: Kai Huang <kaihuang@amazon.com> Signed-off-by: Kai Huang <ahkcs@amazon.com>
1 parent 6d9f3e6 commit a51cc37

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

integ-test/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ testClusters {
287287
testDistribution = 'archive'
288288
plugin(getJobSchedulerPlugin())
289289
plugin(getGeoSpatialPlugin())
290+
plugin(getAnalyticsEnginePlugin())
290291
plugin ":opensearch-sql-plugin"
291292
setting "plugins.query.datasources.encryption.masterkey", "1234567812345678"
292293
}
@@ -300,11 +301,13 @@ testClusters {
300301
integTestWithSecurity {
301302
testDistribution = 'archive'
302303
plugin(getJobSchedulerPlugin())
304+
plugin(getAnalyticsEnginePlugin())
303305
plugin ":opensearch-sql-plugin"
304306
}
305307
remoteIntegTestWithSecurity {
306308
testDistribution = 'archive'
307309
plugin(getJobSchedulerPlugin())
310+
plugin(getAnalyticsEnginePlugin())
308311
plugin ":opensearch-sql-plugin"
309312
}
310313
}
@@ -358,8 +361,10 @@ task stopPrometheus(type: KillProcessTask) {
358361
stopPrometheus.mustRunAfter startPrometheus
359362

360363
task integJdbcTest(type: RestIntegTestTask) {
361-
testClusters.findAll {c -> c.clusterName == "integJdbcTest"}.first().
364+
testClusters.findAll {c -> c.clusterName == "integJdbcTest"}.first().with {
365+
plugin(getAnalyticsEnginePlugin())
362366
plugin ":opensearch-sql-plugin"
367+
}
363368

364369
useJUnitPlatform()
365370
dependsOn ':opensearch-sql-plugin:bundlePlugin'

0 commit comments

Comments
 (0)