Closed Bug 1531865 Opened 5 years ago Closed 5 years ago

redo tests to use services

Categories

(Socorro :: Antenna, task, P2)

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: nobody → willkg
Blocks: 1527343
Status: NEW → ASSIGNED
Priority: -- → P2

That last PR fixed everything, so it's working in CircleCI now. Marking this as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: