Closed Bug 1046598 Opened 10 years ago Closed 10 years ago

backfill unit test - so slow

Categories

(Socorro :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: rhelmer)

Details

This test is super slow on my laptop: Ran 1 test in 30.577s It's importing the fakedata module and using the defaults, which is going to generate quite a bit of data that I don't think is relevant to the test. Reducing that brings the test to a reasonable running time: Ran 1 test in 1.829s
Looking forward to that PR :)
(In reply to Peter Bengtsson [:peterbe] from comment #1) > Looking forward to that PR :) PR: https://github.com/mozilla/socorro/pull/2262
Status: NEW → ASSIGNED
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/0756cb868f24910d55ad83dd5e0cd7b6b4fc7286 fix bug 1046598 - speed up backfill unit test by generating less fakedata https://github.com/mozilla/socorro/commit/df6b735602e0dc8fa135387b91d07c8786670139 Merge pull request #2262 from rhelmer/bug1046598-speed-up-backfill-unit-test fix bug 1046598 - speed up backfill unit test by generating less
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97
Target Milestone: 97 → 98
You need to log in before you can comment on or make changes to this bug.