Skip to content
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

Setup test infra for mongo tests. #1545

Merged
merged 2 commits into from
Mar 1, 2020
Merged

Setup test infra for mongo tests. #1545

merged 2 commits into from
Mar 1, 2020

Conversation

absoludity
Copy link
Contributor

Ref: #1521

This PR just refactors a little so that the pg and mongo test helpers can live separately (and so be namespaced with the same function names), and adds an initial test using mongodb.

Following PR starts updating the mongo backend safely with namespaces.

Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't spend too much time in MongoDB testing, I guess we will be deprecating it soon.

@absoludity
Copy link
Contributor Author

I wouldn't spend too much time in MongoDB testing, I guess we will be deprecating it soon.

Yeah, I was going to ask whether you thought it'd be deprecated or left. I wasn't sure if I'd be needing to support both mongo and postgres when later doing the changes for asset sync jobs in namespaces, if so it'd be worth investing, but if not then I'm keen to avoid mongo as much as possible :)

@absoludity absoludity merged commit b9a6731 into master Mar 1, 2020
@absoludity absoludity deleted the mongodb-per-namespace branch March 1, 2020 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants