Closed
Bug 1003256
Opened 10 years ago
Closed 10 years ago
Improve wait for email notification in test_receive_active_sync_email
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: viorela, Assigned: viorela)
References
Details
Attachments
(1 file)
1.42 MB,
text/plain
|
Details |
In test_receive_active_sync_email.py, we use a timeout of 30 seconds to wait for email notification: https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/email/test_receive_active_sync_email.py#L49. We should improve that wait to avoid intermittent failures, in case the email is received later.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → viorela.ioia
Comment 1•10 years ago
|
||
Viorela, have you seen this failing on CI because of that wait? I cannot replicate it locally, maybe it's because of: Bug 1005009
Flags: needinfo?(viorela.ioia)
Assignee | ||
Comment 2•10 years ago
|
||
I started an adhoc run of this test and I saw it failing intermittently: http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Hamachi/job/b2g.hamachi.mozilla-central.ui.adhoc/365/HTML_Report/? It failed because the email was not received before timeout. I opened a pull request where I increased the time to 180 sec, then started an adhoc run. I'm waiting for results.
Flags: needinfo?(viorela.ioia)
Assignee | ||
Comment 3•10 years ago
|
||
I increased the timeout to 300 sec, but the test is still failing. I attached a log of the test using this timeout. I also ran the test and waited for the email to be received and after ~ 10 min I checked the logcat and I got this error: https://pastebin.mozilla.org/5089542. I believe it might be a problem with sending the message, maybe it is not sent. Zac, is there any way I can check if the email was actually sent? That would be really helpful.
Flags: needinfo?(zcampbell)
Assignee | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Viorela, this sounds to me like it's affected by the same problem cited in https://bugzilla.mozilla.org/show_bug.cgi?id=999447
Flags: needinfo?(zcampbell)
Comment 6•10 years ago
|
||
I agree with zac here looks like these 2 issues are related Let's wait for 825538 to be resolved and give this one more try. I the mean time I disabled the test
Depends on: 825538
Comment 7•10 years ago
|
||
I think this was fixed by Bug 1012616 - Set up activesync accounts for each UI device Can we give this one more try
Priority: -- → P2
Assignee | ||
Comment 8•10 years ago
|
||
The timeout was increased to 60 sec in: https://github.com/mozilla-b2g/gaia/commit/fbeedbdbf015dc41c104872d600d7adae8878e7b. I will close this bug.
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•