From 70e233953c4e8ecd98628aba4f30b8e82a5268e4 Mon Sep 17 00:00:00 2001 From: Nick Taylor Date: Wed, 15 Dec 2021 15:58:13 -0500 Subject: [PATCH] Disabled Spring for E2E databse when run locally (#15793) --- bin/e2e | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/e2e b/bin/e2e index add9c1f1b..5346fc181 100755 --- a/bin/e2e +++ b/bin/e2e @@ -21,7 +21,8 @@ read -t 10 -p "Choose yes to setup a test database or if you're running the scri if [[ $REPLY =~ ^[Yy]$ ]]; then printf "\n\nSetting up the E2E database before running E2E tests...\n\n" - RAILS_ENV=test E2E=true bin/e2e-setup + # Spring is disabled only for E2E tests run locally. Otherwise, there are all kinds of errors. + DISABLE_SPRING=1 RAILS_ENV=test E2E=true bin/e2e-setup else printf "\n\nSkipping database setup...\n\n" fi