Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions pkg/ddc/jindo/master_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,15 @@ func TestSetupMasterInternal(t *testing.T) {
wrappedUnhookInstallRelease()
}

// TestGenerateJindoValueFile tests the functionality of generating Jindo value files for Fluid's JindoRuntime.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

/lgtm
/approve

// This test creates a mock environment with a JindoRuntime instance and associated Dataset,
// then verifies that the engine can properly generate configuration values without errors.
// The test covers:
// - Setting up a JindoRuntime with specific tiered storage configuration
// - Creating a fake client with test objects
// - Building runtime information
// - Configuring port allocation
// - Validating the value file generation process
func TestGenerateJindoValueFile(t *testing.T) {
jindoruntime := &datav1alpha1.JindoRuntime{
ObjectMeta: metav1.ObjectMeta{
Expand Down
Loading