JSONAPI-Resources / JSONAPI-Resources/jsonapi-resources
Testing errors with in memory database
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 2.3k
- Forks
- 546
- PR merge metrics
- No merged PRs in 30d
Description
In order to work around an issue with locked sqlite tables on Rails 4.0 tests the database was switched to using the in memory option for sqlite. I believe this is the cause of the random crashes I am seeing both locally and with Travis. We should switch back to using a traditional on disk database, however we need to fix the issue with locked tables with Rails 4.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Reproduce the random crashes locally and on Travis, then inspect the test database configuration and SQLite behavior under Rails 4.0; done means resolving the locked-table issue and achieving stable test runs with the appropriate database mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby, sqlite
- Domain
- databases, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100