Closed
Bug 1140023
Opened 11 years ago
Closed 11 years ago
Updates to MozReview testing environment
Categories
(MozReview Graveyard :: General, defect)
MozReview Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gps, Assigned: gps)
References
Details
Attachments
(12 files, 1 obsolete file)
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
|
39 bytes,
text/x-review-board-request
|
smacleod
:
review+
|
Details |
I'm making some updates to the MozReview testing environment. Filing a bug to track the reviews.
| Assignee | ||
Comment 1•11 years ago
|
||
/r/4781 - reviewboard: don't create excessive bugs during tests
/r/4783 - testing: add target_people to dumpreview output
Pull down these commits:
hg pull review -r a561a92b0f299c1a0d69450ccba64773ed6243bf
Attachment #8573380 -
Flags: review?(smacleod)
| Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 8573380 [details]
MozReview Request: bz://1140023/gps
/r/4781 - reviewboard: don't create excessive bugs during tests
/r/4783 - testing: add target_people to dumpreview output
/r/4797 - testing: move make_admin into MozReviewBoard class
/r/4799 - testing: print submitter username in dumpreview output
/r/4801 - mozreview: eliminate NO_BUGZILLA_AUTH variable
/r/4803 - testing: create and use adminbugzilla alias
/r/4805 - testing: remove "reviewboard create" command
/r/4807 - mozreview: convert test-auth.t to have default user
Pull down these commits:
hg pull review -r b17015d9bd13ccc28a8f65b520fed229c13bd338
| Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8573380 [details]
MozReview Request: bz://1140023/gps
/r/4781 - mozreview: don't create excessive bugs during tests
/r/4783 - mozreview: add target_people to dumpreview output
/r/4797 - testing: move make_admin into MozReviewBoard class
/r/4799 - mozreview: print submitter username in dumpreview output
/r/4801 - mozreview: eliminate NO_BUGZILLA_AUTH variable
/r/4803 - mozreview: create and use adminbugzilla alias
/r/4805 - testing: remove "reviewboard create" command
/r/4807 - mozreview: convert test-auth.t to have default user
/r/4871 - mozreview: create a default user as part of commonenv
/r/4873 - bzexport: don't use admin user in tests
/r/4875 - bzpost: don't use admin user in tests
/r/4877 - testing: make the admin user an admin in Review Board
Pull down these commits:
hg pull review -r c41aad47fe8bbd8ff1147d3464a1cff23130a4f3
Comment 4•11 years ago
|
||
https://reviewboard.mozilla.org/r/4781/#review3967
Mostly just did a skim review of this, as it should all be pretty mechanical. Ship It.
Comment 5•11 years ago
|
||
https://reviewboard.mozilla.org/r/4783/#review3969
I just reviewed this commit as part of Bug 1138687. (Only comment is maybe we also want target_groups eventually too)
Comment 6•11 years ago
|
||
https://reviewboard.mozilla.org/r/4797/#review3971
::: testing/vcttesting/reviewboard/mach_commands.py
(Diff revision 2)
> - elif 'BUGZILLA_HOME' is os.environ:
> + elif 'BUGZILLA_HOME' is os.environ and path:
`is`? that seems super strange to me. supposed to be `in`?
Comment 7•11 years ago
|
||
https://reviewboard.mozilla.org/r/4799/#review3973
Wow ya, huge improvement :D Ship It!
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
https://reviewboard.mozilla.org/r/4803/#review3977
::: hgext/bzexport/tests/helpers.sh
(Diff revision 2)
> +alias adminbugzilla='BUGZILLA_USERNAME=admin@example.com BUGZILLA_PASSWORD=password $TESTDIR/bugzilla'
I wonder if it's worth putting together a test writing guide that lists all the little helpers, mach commands, credentials, etc used in these tests.
Would be a great reference when you're writing a new test and don't want to have to search through all the .t files to find similar things.
Comment 10•11 years ago
|
||
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
https://reviewboard.mozilla.org/r/4873/#review3985
Seems fine to me. I'm not super familiar with bzexport though, so you might want to have someone more familiar / a bugzilla person comment on the NEW vs ASSIGNED stuff.
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Comment 16•11 years ago
|
||
Comment on attachment 8573380 [details]
MozReview Request: bz://1140023/gps
https://reviewboard.mozilla.org/r/4779/#review3991
Ship It!
Attachment #8573380 -
Flags: review?(smacleod) → review+
| Assignee | ||
Comment 17•11 years ago
|
||
The bzexport changed test output is the only major concern here. Looking at the test, I think the new behavior is appropriate. (I actually remember thinking this output was weird when I wrote the tests.)
The only issue is target_groups missing from dumpreview. That's easy enough to add later.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 19•11 years ago
|
||
Attachment #8573380 -
Attachment is obsolete: true
Attachment #8619672 -
Flags: review+
Attachment #8619673 -
Flags: review+
Attachment #8619674 -
Flags: review+
Attachment #8619675 -
Flags: review+
Attachment #8619676 -
Flags: review+
Attachment #8619677 -
Flags: review+
Attachment #8619678 -
Flags: review+
Attachment #8619679 -
Flags: review+
Attachment #8619680 -
Flags: review+
Attachment #8619681 -
Flags: review+
Attachment #8619682 -
Flags: review+
Attachment #8619683 -
Flags: review+
| Assignee | ||
Comment 20•11 years ago
|
||
| Assignee | ||
Comment 21•11 years ago
|
||
| Assignee | ||
Comment 22•11 years ago
|
||
| Assignee | ||
Comment 23•11 years ago
|
||
| Assignee | ||
Comment 24•11 years ago
|
||
| Assignee | ||
Comment 25•11 years ago
|
||
| Assignee | ||
Comment 26•11 years ago
|
||
| Assignee | ||
Comment 27•11 years ago
|
||
| Assignee | ||
Comment 28•11 years ago
|
||
| Assignee | ||
Comment 29•11 years ago
|
||
| Assignee | ||
Comment 30•11 years ago
|
||
| Assignee | ||
Comment 31•11 years ago
|
||
Updated•10 years ago
|
Product: Developer Services → MozReview
You need to log in
before you can comment on or make changes to this bug.
Description
•