Don't use cache when running tests
- Dominant language
- Python
- Stars
- 791
- Forks
- 451
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 4
Description
A few recent issues highlighted that the cache is used during testing. And that shouldn't be the case.
Currently, we applied local workarounds when it caused issues, but ideally, it should be fixed centrally in a way that the default cache is never used for the tests while maybe a temporary used when explicitly asked for, but never by default.
See a workaround for cached files for simbad: #2199 and linked issues therein, for atomic: #2215
Contributor guide
Research direction
Start by reviewing the cached-file workaround in issue #2199 and the related atomic issue #2215, then trace how the test runs currently access the cache. Done means tests never use the default cache, while a temporary cache remains possible only when explicitly requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100