From 50df588c622e2f5d6f1bc592764a6d041f813d7d Mon Sep 17 00:00:00 2001 From: AWSHurneyt Date: Thu, 1 Aug 2024 16:18:12 -0700 Subject: [PATCH] Disabled non-security tests from executing during security-enabled CI workflows. (#1632) * Disabled non-security tests from executing during security-enabled CI workflows. Signed-off-by: AWSHurneyt * Disabled non-security tests from executing during security-enabled CI workflows. Signed-off-by: AWSHurneyt * Disabled non-security tests from executing during security-enabled CI workflows. Signed-off-by: AWSHurneyt --------- Signed-off-by: AWSHurneyt --- sample-remote-monitor-plugin/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sample-remote-monitor-plugin/build.gradle b/sample-remote-monitor-plugin/build.gradle index e1d38dbea..03493b915 100644 --- a/sample-remote-monitor-plugin/build.gradle +++ b/sample-remote-monitor-plugin/build.gradle @@ -69,6 +69,12 @@ task integTest(type: RestIntegTestTask) { description = "Run tests against a cluster" testClassesDirs = sourceSets.test.output.classesDirs classpath = sourceSets.test.runtimeClasspath + + if (System.getProperty("https") == null || System.getProperty("https") == "false") { + filter { + includeTestsMatching "org.opensearch.alerting.SampleRemoteMonitorIT" + } + } } tasks.named("check").configure { dependsOn(integTest) }