Closed
Bug 1531865
Opened 6 years ago
Closed 6 years ago
redo tests to use services
Categories
(Socorro :: Antenna, task, P2)
Socorro
Antenna
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: willkg)
References
Details
Attachments
(2 files)
Currently, Socorro's tests run in a container that talks to service containers. In that way, we have some tests that mock things out, but many tests test against an actual un-mocked service. For example, we don't mock out the db.
With Antenna, we mock everything out. That was fine because it only talked to S3 and the boto3 library uses the requests library and that's easy to mock out in a way that's not fragile. I haven't figured out how to do that with Pub/Sub.
This bug covers redoing the Antenna tests in the same way we run the Socorro tests, so that services are available to run against.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
That last PR fixed everything, so it's working in CircleCI now. Marking this as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•