Skip to content

Commit 398d20d

Browse files
committed
Add comments to TestGetMountPoint in pkg/ddc/alluxio/utils_test.go.
Signed-off-by: kyhsdjq <141330931+kyhsdjq@users.noreply.github.com>
1 parent 1b61b57 commit 398d20d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

pkg/ddc/alluxio/utils_test.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,17 @@ func TestGetFuseDaemonsetName(t *testing.T) {
744744
}
745745
}
746746

747+
// TestGetMountPoint tests the AlluxioEngine.getMountPoint method to ensure it correctly constructs
748+
// the mount point path. The test verifies the path concatenation logic using configured MountRoot,
749+
// namespace, and engine name parameters to validate the resulting filesystem path.
750+
//
751+
// Parameters:
752+
// - t : *testing.T
753+
// Testing framework handle for managing test state and reporting failures
754+
//
755+
// Returns:
756+
// - None
757+
// Failures are reported through t.Errorf
747758
func TestGetMountPoint(t *testing.T) {
748759
type fields struct {
749760
name string

0 commit comments

Comments
 (0)