Closed
Bug 1071757
Opened 11 years ago
Closed 10 years ago
loop functional tests should use a stub/mock/fake simple push server
Categories
(Hello (Loop) :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
| backlog | tech-debt |
People
(Reporter: dmosedale, Unassigned)
References
Details
(Whiteboard: [tech-debt])
Loop functional tests currently depend on running against the live simple push server. Since Tbpl can't afford to have intermittent failures caused by network connectivity issues, we need to do better.
Perhaps the Simple Push folks know of some mock code that we can already use. First thing to do is to investigate that.
| Reporter | ||
Comment 1•11 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1056151 suggests that the server guys have something in this space already. Alexis, could the code that the server team uses here support (or be extended to support) an end-to-end call functional test?
| Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(alexis+bugs)
Comment 2•11 years ago
|
||
Nope, the server doesn't have any simple push mock implementation.
The server doesn't need to have a simple push url, so we didn't need to mock it.
Flags: needinfo?(alexis+bugs)
Updated•11 years ago
|
Whiteboard: [tech-debt]
Updated•11 years ago
|
backlog: --- → Fx36+
Updated•11 years ago
|
backlog: Fx36+ → Fx37+
Comment 3•11 years ago
|
||
moving to loop general as this could be a client and server bug
Component: Client → General
| Reporter | ||
Comment 4•11 years ago
|
||
Word on the street is that bbangert might already have a fake push server for testing use. Ben, is this the case?
Flags: needinfo?(bbangert)
Comment 5•11 years ago
|
||
It's easy to set one up, I documented it here:
https://github.com/mozilla-services/pushgo/blob/feature/test-docs/setup_test_server.rst
This will get a test server with detailed logging of everything that happens on it.
Flags: needinfo?(bbangert)
Comment 6•11 years ago
|
||
Actually it doesn't has any server-side implications, since the server pings whatever URL it's given.
| Reporter | ||
Comment 7•11 years ago
|
||
Awesome; thanks Ben!
Updated•11 years ago
|
backlog: Fx37+ → Fx38?
Comment 8•11 years ago
|
||
Moving these to blocking-loop="tech-debt" so they can be triaged against other tech debt bugs. When we take a tech-debt bug to work on - just mark it "firefox-backlog"+ and give priority. Then we'll pull it during iteration planning (or factor it into workload if someone is already working on).
backlog: Fx38? → tech-debt
Comment 9•10 years ago
|
||
We haven't seen many intermittent test failures due to this, and any work mocking out this specific server would be invalidated by Bug 1131813
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•