Skip to content

Commit

Permalink
Exclude Faulty Integration Test (#122) (#147)
Browse files Browse the repository at this point in the history
Exclude broken ITs from upstream OpenSearch

Co-authored-by: David Cui <53581635+davidcui-amzn@users.noreply.github.com>
  • Loading branch information
joshuali925 and davidcui1225 authored Aug 31, 2021
1 parent 4c8ff30 commit 75141d8
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 75141d8

Please sign in to comment.