Provide a populate command to add interesting amounts of data to the DB
Bug #702513 reported by
Anthony Lenton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ratings and Reviews server |
Fix Released
|
Low
|
Anthony Lenton |
Bug Description
For load testing, it would be nice to easily be able to have say ~1M reviews for ~10K apps, with an interesting amount of reviews pending moderation and resolved moderations too.
Related branches
lp://staging/~elachuni/rnr-server/populate
- Michael Nelson (community): Approve
-
Diff: 267 lines (+246/-0)3 files modifiedsrc/reviewsapp/management/commands/populate.py (+199/-0)
src/reviewsapp/tests/__init__.py (+1/-0)
src/reviewsapp/tests/test_command_populate.py (+46/-0)
tags: | added: kb-task |
Changed in rnr-server: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Anthony Lenton (elachuni) |
Changed in rnr-server: | |
status: | In Progress → Fix Committed |
Changed in rnr-server: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Marked as qa-untestable, this is a setup for tests, it doesn't effect the code in anyway and is only used by use so we'll know if it isn't working correctly.