-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use official mongodb driver #1745
Use official mongodb driver #1745
Conversation
298865f
to
fecb2f4
Compare
/azp run porter-integration |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet!
I used the mgo driver (because it's easier to use) but it doesn't support the newer version of mongodb (4+) and also doesn't support the newer connection string format used exclusively by mongodb atlas (mongo's cloud offering for mongodb, its freee soooooooooo, we are totes gonna support it). Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
* A couple tests weren't calling teardown * Fix connection leak with the test database plugin * Make timeout configurable so that if someone is on a slow machine, they can wait longer. Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
fecb2f4
to
aa00571
Compare
Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
/azp run porter-integration |
Azure Pipelines successfully started running 1 pipeline(s). |
@vdice Can you take one more look? I found a connection leak when running the tests, so I added 2 more commits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this change
I used the mgo driver (because it's easier to use) but it doesn't support the newer version of mongodb (4+) and also doesn't support the newer connection string format used exclusively by mongodb atlas (mongo's cloud offering for mongodb, its freee 💸 soooooooooo, we are totes gonna support it).
What issue does it fix
Now I can do my kubecon demo using a cloud database that I don't have to pay for or keep updated myself. Huzzah!
Notes for the reviewer
Sorry for not biting the bullet and just using the official driver when I first implemented this. The driver honestly isn't as easy to use but luckily most of the changes necessary are in just a few spots.
Checklist