Skip to content

Conversation

@Ronkahn21
Copy link
Contributor

This pull request introduces integration test infrastructure and new resource support for the Grove operator, along with dependency upgrades and minor fixes. The main changes are the addition of a flexible test environment builder, new integration tests for PodGangSet controllers, support for PodCliqueScalingGroup CRDs, and updates to Kubernetes dependencies.

Integration test infrastructure:

  • Added a fluent EnvBuilder in operator/test/integration/framework/builder.go to simplify the setup of envtest environments, including CRDs, controllers, webhooks, namespaces, and objects.
  • Introduced utility files for CRD loading (framework/crds.go) and constants (framework/constants.go) to support integration tests. [1] [2]

PodGangSet controller integration tests:

  • Added a new test in operator/test/integration/controllers/podgangset/reconciler_test.go verifying that PodGangSet creates child PodCliques and PodCliqueScalingGroups with correct ownership and properties.

Minor test fix:

  • Updated a test utility call in operator/internal/component/podgangset/podclique/podclique_test.go to match the new PodClique parameter signature.

Signed-off-by: Ron Kahn <[email protected]>
Signed-off-by: Ron Kahn <[email protected]>
Signed-off-by: Ron Kahn <[email protected]>
Signed-off-by: Ron Kahn <[email protected]>
Signed-off-by: Ron Kahn <[email protected]>
Signed-off-by: Ron Kahn <[email protected]>
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