[openstreetmap/openstreetmap-website] Speed up tests by making fewer random changes (#1895)

Andy Allan notifications at github.com
Wed Jun 6 06:01:39 UTC 2018


The old_node_controller#test_version in particular was slow, since it saves a huge number of tags when adding a tag 30 times over. Since the tests are random and not based on the number of iterations, this
reduces the iteration counts.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/1895

-- Commit Summary --

  * Speed up tests by making fewer random changes

-- File Changes --

    M test/controllers/changeset_controller_test.rb (2)
    M test/controllers/old_node_controller_test.rb (8)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1895.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1895.diff

-- 
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/1895
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180605/e366bbea/attachment.html>


More information about the rails-dev mailing list