-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a controller delay in test env to fix test erros in docker enviro…
…nments
- Loading branch information
1 parent
77ea8ba
commit 30ff27b
Showing
3 changed files
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ jobs: | |
RAILS_ENV: test | ||
DATABASE_URL: sqlite3:db/test.sqlite3 | ||
SELENIUM_SERVER: 127.0.0.1 | ||
TEST_CONTROLLERS_DELAY: 0.1 | ||
run: | | ||
bundle exec rake db:reset | ||
bundle exec rake test | ||
|
@@ -51,14 +52,8 @@ jobs: | |
RAILS_ENV: test | ||
DATABASE_URL: mysql2://test:[email protected]:3306/test | ||
SELENIUM_SERVER: 127.0.0.1 | ||
TEST_CONTROLLERS_DELAY: 0.1 | ||
run: | | ||
bundle exec rake db:reset | ||
bundle exec rake test TEST=test/models | ||
bundle exec rake test TEST=test/mailers | ||
# skip controllers for now due to random errors when running these tests with mysql | ||
#bundle exec rake test TEST=test/controllers | ||
bundle exec rake test | ||
bundle exec rake test:system | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters