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
10 changes: 10 additions & 0 deletions pkg/ddc/alluxio/transform_optimization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,16 @@ func TestOptimizeDefaultForFuseNoValue(t *testing.T) {
}
}

// TestOptimizeDefaultForFuseWithValue tests the optimizeDefaultFuse function with different scenarios.
// This test case verifies that the function correctly optimizes the default fuse configuration
// based on the provided AlluxioRuntime, Alluxio value, and fuse argument version flag.
// It checks if the generated JVM options for the fuse component match the expected values.
//
// Parameters:
// - t (*testing.T): The testing framework's test instance for reporting failures.
//
// Returns:
// - None. The test uses t.Errorf to report failures directly.
func TestOptimizeDefaultForFuseWithValue(t *testing.T) {
var tests = []struct {
runtime *datav1alpha1.AlluxioRuntime
Expand Down
Loading