From 750a3f7e5626dfde0c753e1a47e86efa77c4a904 Mon Sep 17 00:00:00 2001 From: rish-stripe <110126978+rish-stripe@users.noreply.github.com> Date: Mon, 28 Aug 2023 13:04:05 -0700 Subject: [PATCH] Remove parallel builds and fix env['ci'] = true issue (#1198) --- .circleci/config.yml | 2 +- test/unit/test_translator.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7003d98a30..8682a9d5e8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -144,7 +144,7 @@ jobs: build: working_directory: ~/stripe-salesforce - parallelism: 10 + parallelism: 1 parameters: cache_disabled: type: string diff --git a/test/unit/test_translator.rb b/test/unit/test_translator.rb index a63ca39a0c..5804b0a612 100644 --- a/test/unit/test_translator.rb +++ b/test/unit/test_translator.rb @@ -75,6 +75,10 @@ class TranslatorTest < Critic::UnitTest ENV['CI'] = "false" end + after do + ENV['CI'] = "true" + end + it 'prefixes stripe ID field when the QA namespace is selected' do @user.connector_settings[CONNECTOR_SETTING_SALESFORCE_NAMESPACE] = SalesforceNamespaceOptions::QA.serialize