-
-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: parallel timeout improvements (#5859)
feat: improve timeouts in test suite feat: add per test timeout based on ENV variable we have lots of issues with tests hanging but us being unsure which test hung. This will allow us to set a max time for test and get feedback on which ones are timing out. feat: fail fast docker ci docker is used mainly as a verification step. It should only give info about docker itself working or not. Might as well make it fail fast. fix: change queue_adapter lots of failures seem to stem from background jobs, fixing the queue_adapter is a suggested step
- Loading branch information
1 parent
64f8c36
commit d057a38
Showing
6 changed files
with
18 additions
and
7 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
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 |
---|---|---|
|
@@ -20,6 +20,7 @@ jobs: | |
timeout-minutes: 20 | ||
env: | ||
RAILS_ENV: test | ||
TEST_MAX_DURATION: 60 | ||
|
||
services: | ||
db: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
--format RspecJunitFormatter --out tmp/reports/rspec_<%= ENV["GROUPS_UNDERSCORE"] %>_<%= ENV["TEST_ENV_NUMBER"] %>.xml | ||
--format ParallelTests::RSpec::VerboseLogger | ||
--format ParallelTests::RSpec::SummaryLogger | ||
--format ParallelTests::RSpec::RuntimeLogger --out tmp/parallel_runtime.log | ||
--format ParallelTests::RSpec::SummaryLogger --out tmp/spec_summary.log | ||
--format ParallelTests::RSpec::FailuresLogger --out tmp/failing_specs.log |
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