-
Notifications
You must be signed in to change notification settings - Fork 884
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable xids and empty transactions in TAP test
Instead of filtering the output of `pg_logical_slot_get_changes` we set the option `skip-empty-xacts` and clear `include-xids` to get stable tests. Since the option 'skip-empty-xacts' is set, this changes the order of messages since the BEGIN of a transaction is not generated until the decoder plugin can see that the transaction started and messages do not count as part of a transaction. We also remove transaction start and end marker (and strip trailing and leading whitespace) since these will appear in different places depending on the PostgreSQL version and they are not important for the correctness of the test.
- Loading branch information
Showing
1 changed file
with
48 additions
and
60 deletions.
There are no files selected for viewing
This file contains 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