From d3f7afcc25baa42168b597d60117d7cc06605b64 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 26 Oct 2020 14:27:32 -0700 Subject: [PATCH] Remove Salesforce integration tests from CI (#709) --- .../source-salesforce-singer/build.gradle | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/airbyte-integrations/connectors/source-salesforce-singer/build.gradle b/airbyte-integrations/connectors/source-salesforce-singer/build.gradle index 9b2a7daadaf7..2db3b9991e42 100644 --- a/airbyte-integrations/connectors/source-salesforce-singer/build.gradle +++ b/airbyte-integrations/connectors/source-salesforce-singer/build.gradle @@ -4,19 +4,21 @@ plugins { apply from: rootProject.file('tools/gradle/commons/integrations/image.gradle') apply from: rootProject.file('tools/gradle/commons/integrations/integration-test.gradle') -apply from: rootProject.file('tools/gradle/commons/integrations/standard-source-test.gradle') +//apply from: rootProject.file('tools/gradle/commons/integrations/standard-source-test.gradle') dependencies { } -standardSourceTest { - ext { - imageName = "${extractImageName(project.file('Dockerfile'))}:dev" - specPath = 'source_salesforce_singer/spec.json' - configPath ='secrets/config.json' - catalogPath = 'standard_test/catalog.json' - } -} +// We cannot run these tests with every build because it blows through the Salesforce quota. For now, turn this on as needed and run these tests locally; they will not be run in CI. +// CRITICAL Salesforce has reported 13060/15000 (87.07%) total REST quota used across all Salesforce Applications. Terminating replication to not continue past configured percentage of 80% total quota. +//standardSourceTest { +// ext { +// imageName = "${extractImageName(project.file('Dockerfile'))}:dev" +// specPath = 'source_salesforce_singer/spec.json' +// configPath ='secrets/config.json' +// catalogPath = 'standard_test/catalog.json' +// } +//} buildImage.dependsOn ':airbyte-integrations:bases:base-singer:buildImage' integrationTest.dependsOn(buildImage)