Open
Conversation
When creating a new repo, please run cp test/postgresql/postgresql.conf.backup test/postgresql/postgresql.conf This is needed for testing because when docker container runs, it chowns postgresql.conf to docker, and you no longer have access to it. You can run "chmod 1000:1000 postgresql.conf" to access the file after the container stops. But anyway, postgresql.conf is being ignored because of that
It is failing. ATM I'm not so confortable with wal2json plugin and this repo. But I pretend to. Anyway, it looks to me that this test should pass. Or something similar should be done. But then again, I'm not so deep into this, for now
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR aims to prepare the test suite so other users (like me) can experiment with wal2json, and hopefully help this project to achieve its goals
I'm a newbie when it comes to wal2json, so I was trying to find a way to set me up fast and test stuff.
What better than docker?
So, this PR adds a dockerfile prepared with postgres10.10 and the wal2json plugin already installed
So you can just:
and you have your tests running!
(the reason of the first command is explained in the first commit)