I want to run my Rails tests in parallel. I'm currently using Sidekiq own connection pool to communicate with redis. The problem here is that if I run parallel tests they collide with each other. Rails has a very nice built in test database system that creates database clones of postgresql for each thread that executes the tests. How would I do that with Sidekiq redis connection pool?
↧