Skip to content

Commit

Permalink
Exclude Faulty Integration Test (opensearch-project#122)
Browse files Browse the repository at this point in the history
Exclude broken ITs from upstream OpenSearch
  • Loading branch information
davidcui1225 authored and joshuali925 committed Aug 31, 2021
1 parent 4c8ff30 commit 5a3de3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion reports-scheduler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -236,14 +236,18 @@ integTest {
if (System.getProperty("test.debug") != null) {
jvmArgs '-agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=8000'
}

if (System.getProperty("tests.clustername") != null) {
exclude 'org/opensearch/reportsscheduler/ReportsSchedulerPluginIT.class'
}
}

Zip bundle = (Zip) project.getTasks().getByName("bundlePlugin");
integTest.dependsOn(bundle)
integTest.getClusters().forEach{c -> c.plugin(project.getObjects().fileProperty().value(bundle.getArchiveFile()))}

testClusters.integTest {
testDistribution = "INTEG_TEST"
testDistribution = "ARCHIVE"
// need to install job-scheduler first, need to assemble job-scheduler first
plugin(provider(new Callable<RegularFile>(){
@Override
Expand Down

0 comments on commit 5a3de3f

Please sign in to comment.