Closed
Bug 1126528
Opened 9 years ago
Closed 9 years ago
Minimize use of JSON fixture
Categories
(Webtools Graveyard :: Air Mozilla, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Unassigned)
Details
The json fixture we use [0] contains creation of objects that we only rarely use. We should remove as much as we possibly can from this file. [0] https://github.com/mozilla/airmozilla/blob/master/airmozilla/manage/tests/main_testdata.json
Reporter | ||
Comment 1•9 years ago
|
||
It might be worth putting some of the fixtures into setUp() methods too.
Comment 2•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/airmozilla https://github.com/mozilla/airmozilla/commit/4aa24dac7ce92013ec962871b95a73219857b419 fixes bug 1126528 - Minimize use of JSON fixture
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 3•9 years ago
|
||
I measured every single SQL query that was sent to PG during the full test. I filtered it by all INSERTS. Before this work, there was 9071 inserts. After, only 6357
Updated•3 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•