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

Actually run a pg_dump in the Postgres test suite #44069

Merged
merged 1 commit into from Jan 4, 2022

Conversation

ghiculescu
Copy link
Member

#44028 came about because all the current Postgres tests just mock the pg_dump call made when you dump a DB structure.

By actaully running a dump at least once, we can test against a real database and ensure that all arguments are correctly handled. This PR implements that.

rails#44028 came about because all the current Postgres tests just mock the `pg_dump` call made when you dump a DB structure.

By actaully running a dump at least once, we can test against a real database and ensure that all arguments are correctly handled. This PR implements that.
@ghiculescu
Copy link
Member Author

I think the red tests are unrelated

@rafaelfranca rafaelfranca merged commit faf9beb into rails:main Jan 4, 2022
rafaelfranca added a commit that referenced this pull request Jan 4, 2022
Actually run a `pg_dump` in the Postgres test suite
@ghiculescu ghiculescu deleted the postgres-test-dump branch January 4, 2022 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants