From 5a3de3f98b871557768b0036ab122ef94088e191 Mon Sep 17 00:00:00 2001 From: David Cui <53581635+davidcui-amzn@users.noreply.github.com> Date: Fri, 9 Jul 2021 18:31:02 -0700 Subject: [PATCH] Exclude Faulty Integration Test (#122) Exclude broken ITs from upstream OpenSearch --- 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