Skip to content
Closed
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
7 changes: 7 additions & 0 deletions pkg/ddc/alluxio/master_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ func TestSetupMasterInternal(t *testing.T) {
wrappedUnhookCheckRelease()
}

// TestGenerateAlluxioValueFile tests the functionality of generating Alluxio configuration files.
// It verifies successful generation under valid input conditions and ensures idempotency of subsequent calls.
// The test creates mock AlluxioRuntime/Dataset resources, initializes dependencies (port allocator),
// and validates error handling during configuration generation.
//
// Parameters:
// t : *testing.T - Testing context object for test control and reporting
func TestGenerateAlluxioValueFile(t *testing.T) {
allixioruntime := &datav1alpha1.AlluxioRuntime{
ObjectMeta: metav1.ObjectMeta{
Expand Down
Loading