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

Add replication handler tests #52

Merged
merged 3 commits into from
Jul 3, 2024
Merged

Conversation

eminano
Copy link
Collaborator

@eminano eminano commented Jul 1, 2024

This PR adds unit tests to the postgres replication handler package. It decouples the internal implementation of the postgres connections to be able to mock them, by moving some of the postgres implementation details to a postgres internal library that acts as a wrapper of the pgx/pglogrepl library.

@eminano eminano force-pushed the add-replication-handler-tests branch from 86cc73b to 532d3fc Compare July 2, 2024 10:42
@eminano eminano requested a review from exekias July 2, 2024 10:44
@eminano eminano merged commit f5817f5 into main Jul 3, 2024
3 checks passed
@eminano eminano deleted the add-replication-handler-tests branch July 3, 2024 08:27
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