Skip to content

Commit 50df588

Browse files
authored
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 <[email protected]> * Disabled non-security tests from executing during security-enabled CI workflows. Signed-off-by: AWSHurneyt <[email protected]> * Disabled non-security tests from executing during security-enabled CI workflows. Signed-off-by: AWSHurneyt <[email protected]> --------- Signed-off-by: AWSHurneyt <[email protected]>
1 parent 25eec30 commit 50df588

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sample-remote-monitor-plugin/build.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ task integTest(type: RestIntegTestTask) {
6969
description = "Run tests against a cluster"
7070
testClassesDirs = sourceSets.test.output.classesDirs
7171
classpath = sourceSets.test.runtimeClasspath
72+
73+
if (System.getProperty("https") == null || System.getProperty("https") == "false") {
74+
filter {
75+
includeTestsMatching "org.opensearch.alerting.SampleRemoteMonitorIT"
76+
}
77+
}
7278
}
7379
tasks.named("check").configure { dependsOn(integTest) }
7480

0 commit comments

Comments
 (0)