Disabled Spring for E2E databse when run locally (#15793)
This commit is contained in:
parent
19d8cad1e9
commit
70e233953c
1 changed files with 2 additions and 1 deletions
3
bin/e2e
3
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue