Closed
Bug 1191416
Opened 9 years ago
Closed 9 years ago
Race condition in unittest reviewboard_login verify
Categories
(MozReview Graveyard :: General, defect)
MozReview Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dminor, Assigned: dminor)
References
Details
Attachments
(1 file)
I see intermittent failures in the reviewboard_login method of the Unittest class which looks like a race condition with respect to when the browser url is read. Switching to a WebDriverWait fixes things.
Assignee | ||
Comment 1•9 years ago
|
||
testing: fix race condition in reviewboard_login (bug 1191416) r?gps This switches from a direct check of the browser url to a WebDriverWait on the browser title to verify whether a login was successful. I saw intermittent failures on my system without the wait which I think were due to a race on when the browser url was read.
Attachment #8643807 -
Flags: review?(gps)
Comment 2•9 years ago
|
||
Comment on attachment 8643807 [details] MozReview Request: testing: fix race condition in reviewboard_login (bug 1191416) r?gps https://reviewboard.mozilla.org/r/15151/#review13589 Plausible. Thanks for tracking this down!
Attachment #8643807 -
Flags: review?(gps) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Thanks, pushed to: https://hg.mozilla.org/hgcustom/version-control-tools/rev/1fdc85213ddf
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Developer Services → MozReview
You need to log in
before you can comment on or make changes to this bug.
Description
•