Closed Bug 1037140 Opened 10 years ago Closed 9 years ago

Marketplace perf event test fail without network connection

Categories

(Marketplace Graveyard :: Code Quality, defect, P2)

Avenir
x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hub, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [c=automation p= s= u=][marketplace-transition])

Try to run |make test-perf| against the marketplace app without network connection. The test will fail.
Keywords: perf
Whiteboard: [c=automation p= s= u=]
Assignee: nobody → hub
Assignee: hub → nobody
Depends on: 897156
Dependent on MP being a packaged app.
Priority: -- → P2
Jonathan, do you know what it would take to get an internet connection for the devices, and subsequently the Marketplace, for the performance tests?
Flags: needinfo?(jgriffin)
We'd likely need to run some gaiatest code that configures wifi; cc'ing davehunt to see if we already have such an ability or if we'd have to make a simple script for this.
Flags: needinfo?(jgriffin) → needinfo?(dave.hunt)
We have a connectToWifi method in the gaia test atoms here: https://github.com/mozilla-b2g/gaia/blob/286383c71e6e85863a8f304e0a7f9ac1032df109/tests/atoms/gaia_data_layer.js#L208 We also have a command line tool that allows you to connect to a WiFi network: http://gaiatest.readthedocs.org/en/latest/gcli.html We could potentially run this before running |make test-perf| however it might be better to integrate connecting to WiFi within the make target as we should be resetting the device between tests to a known good state (disconnected).
Flags: needinfo?(dave.hunt)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Whiteboard: [c=automation p= s= u=] → [c=automation p= s= u=][marketplace-transition]
You need to log in before you can comment on or make changes to this bug.