Skip to content

Commit

Permalink
Exclude Faulty Integration Test (#122)
Browse files Browse the repository at this point in the history
Exclude broken ITs from upstream OpenSearch
  • Loading branch information
davidcui1225 authored Jul 10, 2021
1 parent 698448e commit 48570bd
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 48570bd

Please sign in to comment.