Skip to content

Conversation

@t0mmylam
Copy link
Collaborator

Adds comprehensive end-to-end tests for DeploymentPolicy functionality, including multi-compartment rollouts, various strategies (Fixed, Linear, Exponential), and backwards compatibility with InterruptionBudget.

Changes

  • 4 new E2E test suites covering core deployment policy features
  • Prometheus metrics validation for all 8 rollout metrics
  • CI integration with new deployment-policy-tests job
  • Makefile targets for easy local testing
  • Podman keyring quota fix for macOS and Linux

Testing

  • All 4 test suites passing locally
  • Metrics validation working correctly
  • CI job configured and ready to run
  • Tested on 15-node Kind cluster

Test Coverage

  • ✅ Multi-compartment rollouts (15 nodes)
  • ✅ Linear ramp-up strategy (8 nodes)
  • ✅ Overlapping label selectors (6 nodes)
  • ✅ Legacy InterruptionBudget compatibility (6 nodes)
  • ✅ Prometheus metrics export and validation
  • ✅ Budget enforcement (count and percent-based)
  • ✅ Batch progression and state tracking

@t0mmylam t0mmylam changed the title add e2e tests for deployment policy feat: add e2e tests for deployment policy Oct 30, 2025
Copy link
Collaborator

@lockwobr lockwobr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests are not making assertions it seems

@t0mmylam t0mmylam merged commit 18c449b into main Nov 7, 2025
11 of 12 checks passed
@t0mmylam t0mmylam deleted the tests branch November 7, 2025 17:20
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.

4 participants