Repository navigation
Conversation
xavipg003
force-pushed
the
dpe-11496-11
branch
from
November 19, 2026 11:32
ea38cd0 to
f4e4791
Compare
xavipg003
force-pushed
the
dpe-11496-11
branch
from
November 20, 2026 09:41
f4e4791 to
dd3a6e1
Compare
xavipg003
force-pushed
the
dpe-11496-11
branch
from
November 20, 2026 14:56
dd3a6e1 to
60760ba
Compare
xavipg003
force-pushed
the
dpe-11496-11
branch
from
November 20, 2026 15:18
60760ba to
c3239fe
Compare
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.
Description
This PR continues migrating the PostgreSQL integration tests from pytest-operator to jubilant. Builds on #434.
It migrates the HA tests for network failures, WAL recovery and stereo mode with a watcher.
What's included
test_self_healing_3(VM and K8s, keeping the existing substrate and architecture skips).test_stereo_mode(VM only): shutdown and network isolation of the primary, replica and watcher, multi-cluster watcher relations and production-profile AZ checks.charm/helpers.py: LXC network cut and restoration, connectivity and isolation checks, Chaos Mesh deployment and policies, and reading/restoring WAL settings and listing WAL files.start_writesandverify_raft_cluster_healthbecome synchronous. Raft password, quorum, member count and watcher membership checks stay unchanged.high_availability/conftest.py:juju_chaos_meshandjuju_wal_settings. Reusesjuju_continuous_writesandjuju_primary_start_timeout.ha_tests/tohigh_availability/, in a separate commit. Their Spread tasks point to the new paths. Scripts and manifests stay inha_tests/.How the migration was done
ops_testwith the synchronousjujufixture and adapt deployment, relations, actions, commands and status reads to jubilant.try/finallyblocks that restore the network and watcher after failures.block_until_done=True.