Open
Description
Has anyone had success running tests that rely on caching with the xdist plugin? I created a fixture, similar to the database fixture, to add a cache key prefix: https://github.com/edx/course-discovery/blob/ad1dca5623b765c6d85d83dcf7e5f75c7b8e1181/conftest.py#L18-L40. However, I still have a couple tests that fail when using memcached (but not when using local memory).
- Is there anything obvious that I am missing with my fixture?
- If you have had success running cache-related tests in parallel mode, how did you handle cache key collisions?
- Are others interested in such a fixture being contributed to this project?