Skip to content

Added test utilities and other misc changes#74

Merged
unmarshall merged 4 commits into
ai-dynamo:mainfrom
unmarshall:reconciler
Apr 27, 2025
Merged

Added test utilities and other misc changes#74
unmarshall merged 4 commits into
ai-dynamo:mainfrom
unmarshall:reconciler

Conversation

@unmarshall

Copy link
Copy Markdown
Collaborator

This PR introduces the following changes:

  • Moves namegen.go to the API. This go file has helper functions for generating names for all the managed components.
  • All references to API should use grovecorev1alpha1 as an alias. This will be later enforced via golangci_lint
  • Added StartsAfter with fully qualified PodClique names when creating PodClique CRs.
  • Added test utilities to create PodGangSet, PodClique and Pod for quick testing.
  • Added fake client that is capable of recording and replaying errors for unit testing.
  • Added unit test for PodClique component. Only written tests for Delete and GetExistingResourceNames methods.

…d component name gen to API

Signed-off-by: madhav bhargava <madhav.bhargava@sap.com>
Signed-off-by: madhav bhargava <madhav.bhargava@sap.com>
Signed-off-by: madhav bhargava <madhav.bhargava@sap.com>
Signed-off-by: madhav bhargava <madhav.bhargava@sap.com>
@unmarshall unmarshall merged commit 3381eaf into ai-dynamo:main Apr 27, 2025
@unmarshall unmarshall deleted the reconciler branch April 29, 2025 02:36
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