Closed
Bug 981217
Opened 9 years ago
Closed 9 years ago
mochitest on device, connection to wifi
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla30
People
(Reporter: onecyrenus, Assigned: onecyrenus)
Details
Attachments
(1 file, 1 obsolete file)
2.62 KB,
patch
|
onecyrenus
:
review+
|
Details | Diff | Splinter Review |
Made a modification to the way we connect to wifi to make the connection a bit more robust. The logic is below: if no wifi settings are passed in, it assumes that the wifi network is already known. if wifi settings are passed in, we check through known networks to see if we already have stored credentials for that network. if we find credentials we remove them, and attempt to connect. if the credentials are not found, then an attempt is made to connect.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8387982 -
Flags: review?(ahalberstadt)
Assignee | ||
Comment 2•9 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=a01945e65cf8, should be able to wait and see on the results. Also have turned off powersaving mode, which can sometimes kick in, in the middle of a run.
Comment 3•9 years ago
|
||
Comment on attachment 8387982 [details] [diff] [review] bug981217.patch Review of attachment 8387982 [details] [diff] [review]: ----------------------------------------------------------------- r+ with nits addressed. ::: testing/mochitest/b2g_start_script.js @@ +92,5 @@ > + manager.setPowerSavingMode(false); > + > + manager.onenabled = function () { > + if(wifiSettings) { > + var req = manager.getKnownNetworks(); nit: use let instead of var, same for all other instances of var in this patch. @@ +120,5 @@ > + 'wifi.suspended': false > + }); > + > + req.onsuccess = function () { > + dump("----------------------enabling wifi------------------\n"); Remove debug line.
Attachment #8387982 -
Flags: review?(ahalberstadt) → review+
Assignee | ||
Comment 4•9 years ago
|
||
nit fixes
Attachment #8387982 -
Attachment is obsolete: true
Attachment #8389645 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 5•9 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=d03e00933ca1 also try run results
Comment 6•9 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/2522557e99a6 In the future, please make sure your patch has a useful commit message when requesting checkin :)
Assignee: nobody → dclarke
Keywords: checkin-needed
Assignee | ||
Comment 7•9 years ago
|
||
Bug 981217 - Make the wifi connection more rubust during testing . seems to explain the situation.
https://hg.mozilla.org/mozilla-central/rev/2522557e99a6
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•