Skip to content

Conversation

marceloneppel
Copy link
Member

@marceloneppel marceloneppel commented Jan 22, 2024

Issue

There are no integration tests for cross-region async-replication.

Solution

Add integration tests for some use cases:

  • Establish async replication between two PostgreSQL clusters.
  • Switchover to the secondary cluster.
  • Promote a standby cluster after the relation is broken.
  • Disable and reestablish async replication between two PostgreSQL clusters.
  • Crash the sync_standby member of the main cluster and check that replication is still working.
  • Crash the standby_leader member of the secondary cluster and check that replication is still working.

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
@marceloneppel marceloneppel changed the base branch from main to dpe-2897-cross-region-async-replication January 22, 2024 13:08
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
…cross-region-async-replication-integration-tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
…cross-region-async-replication-integration-tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
…cross-region-async-replication-integration-tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
…cross-region-async-replication-integration-tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
…cross-region-async-replication-integration-tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
…cross-region-async-replication-integration-tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
…cross-region-async-replication-integration-tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
…cross-region-async-replication-integration-tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
…cross-region-async-replication-integration-tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
…cross-region-async-replication-integration-tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
…cross-region-async-replication-integration-tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
@marceloneppel
Copy link
Member Author

It was superseded by #448.

@marceloneppel marceloneppel deleted the dpe-2900-cross-region-async-replication-integration-tests branch July 30, 2025 14:28
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.

1 participant