Skip to content

Commit

Permalink
Exclude bwc test for MacOS (#414) (#416)
Browse files Browse the repository at this point in the history
* Used snapshot url for macos



* Added case for ubuntu and windows



* Exclude bwcTest for macOS



* Exclude bwcTest for MacOS



---------


(cherry picked from commit 19a0c77)

Signed-off-by: owaiskazi19 <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Co-authored-by: Owais Kazi <[email protected]>
  • Loading branch information
1 parent 08465a4 commit 87be65a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sample-extension-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ apply plugin: 'opensearch.java-rest-test'

import org.opensearch.gradle.test.RestIntegTestTask
import org.opensearch.gradle.testclusters.StandaloneRestIntegTestTask
import org.apache.tools.ant.taskdefs.condition.Os

import java.util.concurrent.Callable

Expand Down Expand Up @@ -280,7 +281,9 @@ task bwcTestSuite(type: StandaloneRestIntegTestTask) {
dependsOn tasks.named("${baseName}#rollingUpgradeClusterTask")
dependsOn tasks.named("${baseName}#fullRestartClusterTask")
}
tasks.named("check").configure {dependsOn(bwcTestSuite)}
if (!(Os.isFamily(Os.FAMILY_MAC))) {
tasks.named("check").configure {dependsOn(bwcTestSuite)}
}

run {
doFirst {
Expand Down

0 comments on commit 87be65a

Please sign in to comment.