Skip to content

Commit 7d914d2

Browse files
authored
This PR is to add comments to TestGetMasterPodInfo in pkg\ddc\alluxio\utils_test.go. (#4636)
* Add comments to TestGetMasterPodInfo in pkg\ddc\alluxio\utils_test.go. Signed-off-by: cbkjames23 <1411137090@qq.com> * Add comments to TestGetMasterPodInfo in pkg\ddc\alluxio\utils_test.go. Signed-off-by: cbkjames23 <1411137090@qq.com> --------- Signed-off-by: cbkjames23 <1411137090@qq.com>
1 parent 53c346d commit 7d914d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/ddc/alluxio/utils_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,10 @@ func TestGetDaemonset(t *testing.T) {
622622
}
623623
}
624624

625+
// TestGetMasterPodInfo tests the getMasterPodInfo function of the AlluxioEngine struct.
626+
// It defines a set of test cases with expected pod and container names based on the engine's name.
627+
// The function iterates through the test cases, initializes an AlluxioEngine instance,
628+
// and verifies whether the returned pod name and container name match the expected values.
625629
func TestGetMasterPodInfo(t *testing.T) {
626630
type fields struct {
627631
name string

0 commit comments

Comments
 (0)