Repository navigation
Conversation
xavipg003
force-pushed
the
dpe-11496-10
branch
from
November 18, 2026 12:34
e3a3e58 to
f63b6e8
Compare
xavipg003
force-pushed
the
dpe-11496-10
branch
from
November 19, 2026 08:22
f63b6e8 to
3e19121
Compare
xavipg003
force-pushed
the
dpe-11496-10
branch
from
November 19, 2026 09:19
3e19121 to
88210b9
Compare
xavipg003
force-pushed
the
dpe-11496-10
branch
3 times, most recently
from
November 20, 2026 14:56
239fe64 to
7d0c9dc
Compare
xavipg003
force-pushed
the
dpe-11496-10
branch
from
November 20, 2026 15:18
7d0c9dc to
88da70e
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 #432.
What's included
test_restore_cluster(VM only).test_smoke,test_self_healing_1andtest_self_healing_2(VM and K8s, keeping their substrate-specific cases and existing skips).charm/helpers.py: storage discovery and reuse, adding units with existing storage, database and authentication checks, and PVC/PV recovery on K8s. Reusesscale_ha_applicationand the continuous-write and cluster helpers from the previous PR.charm/helpers.py:send_signal_to_process,are_all_db_processes_down,is_postgresql_ready,update_restart_condition,copy_file_into_podandmodify_pebble_restart_delay.high_availability/conftest.py:juju_restart_policy,juju_loop_waitandjuju_reset_restart_condition, preserving the original Patroni, Pebble and systemd configuration/restoration behaviour. Reusesjuju_continuous_writesandjuju_primary_start_timeout.ha_tests/tohigh_availability/, after their migration. Their Spread tasks point to the new paths. The Pebble manifests stay inha_tests/manifests/.How the migration was done
ops_testwith the synchronousjujufixture and adapt deployment, relations, commands and status reads to jubilant.ThreadPoolExecutorfor the originalasyncio.gathercalls intest_self_healing_2and its systemd fixture.update_restart_condition: 10 attempts, a two-second wait after failures, theubuntuuser and disabled host-key checks.