Skip to content

[DPE-11045] test(logical-replication): cover the ported module (5/5) - #270

Draft
marceloneppel wants to merge 2 commits into
lr-4-circular-validationfrom
lr-5-tests
Draft

[DPE-11045] test(logical-replication): cover the ported module (5/5)#270
marceloneppel wants to merge 2 commits into
lr-4-circular-validationfrom
lr-5-tests

Conversation

@marceloneppel

Copy link
Copy Markdown
Member

Issue

Last PR of the logical replication migration series (after #269): unit coverage for the ported module, and the handler wiring into the library charms.

Solution

  • Constructs PostgreSQLLogicalReplication in AbstractPostgreSQLCharm (the composition root) and hands its replication_slots view to the config manager; the test charms gain the two logical-replication relations in their metadata.
  • Ports the circular-replication coverage from the charms' fix PR onto the library test charms, on both substrates: chain building, subscriber and publisher circular checks, validation blocking, non-circular passing, and stale-error handling.
  • Bumps the library version to 16.3.11 for the charms to pin.

Checklist

  • I have added or updated any relevant documentation.
  • I have cleaned any remaining cloud resources from my accounts.

Constructs the handler in the abstract charm (the composition root)
and hands its replication_slots view to the config manager; the test
charms gain the two logical-replication relations in their metadata.

Ports the circular-replication coverage from the charms' fix PR onto
the library test charms: chain building, subscriber and publisher
circular checks, validation blocking, and stale-error handling on
both substrates.
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.

1 participant