Skip to content

This PR is to add comments to TestOptimizeDefaultForWorkerWithValue in pkg/ddc/alluxio/transform_optimization_test.go #4960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

// TestOptimizeDefaultForWorkerWithValue tests the behavior of the optimizeDefaultForWorker function when Worker JVM options are explicitly set in AlluxioRuntime.
// This test case verifies whether the optimizeDefaultForWorker function correctly preserves and applies the specified JVM options instead of using default values when they are provided in AlluxioRuntime.
//
// Parameters:
// - t *testing.T: The testing framework used to report errors and log test results.
//
// Return:
// - None. The function asserts the expected JVM options against the actual values and reports errors if they do not match.
func TestOptimizeDefaultForWorkerWithValue(t *testing.T) {
var tests = []struct {
runtime *datav1alpha1.AlluxioRuntime
Expand Down
Loading