backfill unit test - so slow

RESOLVED FIXED in 98

Status

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: rhelmer, Assigned: rhelmer)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

5 years ago
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 :)
(Assignee)

Comment 2

5 years ago
(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

Comment 3

5 years ago
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

Updated

5 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Updated

5 years ago
Target Milestone: --- → 97

Updated

5 years ago
Target Milestone: 97 → 98
You need to log in before you can comment on or make changes to this bug.