Disabled Spring for E2E databse when run locally (#15793)

This commit is contained in:
Nick Taylor 2021-12-15 15:58:13 -05:00 committed by GitHub
parent 19d8cad1e9
commit 70e233953c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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