Skip to content

Commit 8107c6c

Browse files
authored
This PR is to add comments to TestTransformWorkers in pkg/ddc/alluxio/transform_tes… (#4561)
* Add Notation to TestTransformWorkers in pkg/ddc/alluxio/transform_test.go. Signed-off-by: Qyanger <qiuyuyang2022@outlook.com> * Add Notation to TestTransformWorkers in pkg/ddc/alluxio/transform_test.go. Signed-off-by: Qyanger <qiuyuyang2022@outlook.com> --------- Signed-off-by: Qyanger <qiuyuyang2022@outlook.com>
1 parent cf6e8f9 commit 8107c6c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/ddc/alluxio/transform_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ func TestTransformMaster(t *testing.T) {
183183
}
184184
}
185185

186+
// TestTransformWorkers verifies that the transformWorkers function correctly transforms
187+
// the worker configuration of AlluxioRuntime into the expected Alluxio structure.
188+
// It tests different network modes, node selectors, and image pull secrets to ensure
189+
// correct transformation behavior.
186190
func TestTransformWorkers(t *testing.T) {
187191
testCases := map[string]struct {
188192
runtime *datav1alpha1.AlluxioRuntime

0 commit comments

Comments
 (0)