Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkg/ddc/alluxio/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ func TestMountRootWithEnvSet(t *testing.T) {
}
}

// TestMountRootWithoutEnvSet tests the getMountRoot function when the MountRoot environment variable is not set.
// It verifies that getMountRoot returns the default mount root path "/alluxio" when no environment variable is configured.
// The test unsets the MountRoot environment variable and compares the actual result with the expected default value.

func TestMountRootWithoutEnvSet(t *testing.T) {
var testCases = []struct {
input string
Expand Down