From 75141d8e30c9cf209407bdd315e5f09b1775d4d1 Mon Sep 17 00:00:00 2001 From: Joshua Date: Tue, 31 Aug 2021 10:11:15 -0700 Subject: [PATCH] Exclude Faulty Integration Test (#122) (#147) Exclude broken ITs from upstream OpenSearch Co-authored-by: David Cui <53581635+davidcui-amzn@users.noreply.github.com> --- reports-scheduler/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reports-scheduler/build.gradle b/reports-scheduler/build.gradle index 38da24d9..f1d457d5 100644 --- a/reports-scheduler/build.gradle +++ b/reports-scheduler/build.gradle @@ -236,6 +236,10 @@ 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"); @@ -243,7 +247,7 @@ 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(){ @Override