Closed Bug 1140023 Opened 11 years ago Closed 11 years ago

Updates to MozReview testing environment

Categories

(MozReview Graveyard :: General, defect)

defect
Not set
normal

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.
Attached file MozReview Request: bz://1140023/gps (obsolete) —
/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)
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
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
https://reviewboard.mozilla.org/r/4781/#review3967 Mostly just did a skim review of this, as it should all be pretty mechanical. Ship It.
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)
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`?
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.
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 on attachment 8573380 [details] MozReview Request: bz://1140023/gps https://reviewboard.mozilla.org/r/4779/#review3991 Ship It!
Attachment #8573380 - Flags: review?(smacleod) → review+
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
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+
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: