Skip to content

Commit b16eb30

Browse files
authored
Add notation to TestGetMasterStatefulsetName in pkg\ddc\alluxio\utils_test.go (#4772)
Signed-off-by: Chen Dedan <221220159@smail.nju.edu.cn> Co-authored-by: Chen Dedan <221220159@smail.nju.edu.cn>
1 parent 0d32e61 commit b16eb30

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pkg/ddc/alluxio/utils_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,14 @@ func TestGetMasterPodInfo(t *testing.T) {
714714
}
715715
}
716716

717+
// TestGetMasterStatefulsetName verifies the functionality of getMasterName method in the AlluxioEngine struct.
718+
// This test ensures that the correct StatefulSet name is generated based on the name of the Alluxio engine.
719+
//
720+
// Parameters:
721+
// - t (testing.T): The test object used to run the test case.
722+
//
723+
// Returns:
724+
// - None.
717725
func TestGetMasterStatefulsetName(t *testing.T) {
718726
type fields struct {
719727
name string

0 commit comments

Comments
 (0)