Skip to content

[DPE-11496] (PART 5) CI/CD migration to single-kernel: VM-only jubilant tests - #424

Merged
xavipg003 merged 4 commits into
16/edgefrom
dpe-11496-5
Nov 20, 2026
Merged

xavipg003 merged 4 commits into
16/edgefrom
dpe-11496-5

Conversation

@xavipg003

Copy link
Copy Markdown
Contributor

Description

This PR continues moving the PostgreSQL integration tests from the VM and K8s charm repos into the single kernel library. Builds on #413.

It focuses on the tests that only exist in the VM repo and already use jubilant. They are moved as they are and run only on VM.

What's included

  • VM-only tests:
    • high_availability/: test_async_replication_backups_ceph, test_async_replication_dead_dc_recovery, test_async_replication_outage.
    • spaces/: test_spaced_database, test_spaced_async_replication, plus the conftest.py that sets up the LXD networks and Juju spaces.
    • test_oom, test_persistent_temp_storage_restart, test_tmpfs_restart.
  • Shared helpers: the helpers these tests need, added to tests/integration/helpers/ and tests/integration/charm/helpers.py.
  • CI: the new tests run on every PR, on VM only.

How the merge was done

  • Each test is marked vm_only, so it is skipped on K8s, and its spread task only targets the VM backend.

@xavipg003
xavipg003 added this pull request to stack #411 November 10, 2026 15:05
@xavipg003
xavipg003 marked this pull request as ready for review November 13, 2026 21:56
@xavipg003
xavipg003 requested a review from a team as a code owner November 13, 2026 21:56
@xavipg003
xavipg003 force-pushed the dpe-11496-5 branch 3 times, most recently from 8eccf67 to dfbd691 Compare November 18, 2026 12:34
@xavipg003
xavipg003 force-pushed the dpe-11496-5 branch 2 times, most recently from 903a72d to d7407a0 Compare November 19, 2026 11:32
Base automatically changed from dpe-11496-4 to 16/edge November 20, 2026 14:56
@dragomirp

Copy link
Copy Markdown
Contributor

We may want to enable some/all of those for k8s as well in a follow up.

@xavipg003
xavipg003 merged commit b2f6e0e into 16/edge Nov 20, 2026
10 checks passed
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.

3 participants