Skip to content

test(events): cover the K8s pebble-ready, peer-relation, and update-status flows (12/14) - #366

Draft
marceloneppel wants to merge 1 commit into
k8s-4from
k8s-4b
Draft

marceloneppel wants to merge 1 commit into
k8s-4from
k8s-4b

Conversation

@marceloneppel

Copy link
Copy Markdown
Member

Issue

Test-only slice: the k8s-4 code slice exceeded the single-PR LOC budget, so the tests ride separately (the vm-3b/vm-4b precedent).

Solution

  • tests/unit/test_k8s_lifecycle_events.py (773 lines, 39 cases): the pebble-ready chain, update-status family (pinned status strings), peer-relation flows, initialization error statuses, replica gates, and action routing, ported from the K8s charm's unit tests at 16/edge.

Checklist

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

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