[openstreetmap/openstreetmap-website] WIP Parallel tests (#2448)

Andy Allan notifications at github.com
Wed Dec 4 12:08:58 UTC 2019


> I wonder if the mocking is needed if we're creating unique temp dirs?

The main thing is that we create symlinks for the images (and traces), and when we run the importer then we overwrite the fixtures. So I was considering just making the factories copy the fixtures rather than making symlinks, which might allow us to ditch all the Fakefs stuff entirely at the cost of lots of copying files around during the tests.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2448#issuecomment-561616295
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191204/0cd55f12/attachment.html>


More information about the rails-dev mailing list