Skip to content

Commit 8d26afa

Browse files
authored
Add comments/notation to TestOptimizeDefaultForWorkerNoValue in pkg\ddc\alluxio\transform_optimization_test.go (#4715)
Signed-off-by: Arceus-gyx <[email protected]>
1 parent 5024551 commit 8d26afa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/ddc/alluxio/transform_optimization_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,14 @@ func TestOptimizeDefaultForMasterWithValue(t *testing.T) {
221221
}
222222
}
223223

224+
// TestOptimizeDefaultForWorkerNoValue tests the default behavior of the optimizeDefaultForWorker function when no Worker JVM options are set.
225+
// This test case verifies whether the optimizeDefaultForWorker function correctly sets the default JVM options when the Worker JVM options in AlluxioRuntime and Alluxio are empty.
226+
//
227+
// Parameters:
228+
// - t *testing.T: The testing framework used to report errors and log test results.
229+
//
230+
// Return:
231+
// - None. The function asserts the expected JVM options against the actual values and reports errors if they do not match.
224232
func TestOptimizeDefaultForWorkerNoValue(t *testing.T) {
225233
var tests = []struct {
226234
runtime *datav1alpha1.AlluxioRuntime

0 commit comments

Comments
 (0)