Skip to content
Open
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: 3 additions & 1 deletion pkg/ddc/alluxio/operations/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ func TestAlluxioFileUtils_Du(t *testing.T) {
}
}

func TestAlluxioFileUtils_ReportSummary(t *testing.T) {
// TestAlluxioFileUtils_ReportSummary tests the AlluxioFileUtils.ReportSummary method
// for both failure and success cases by mocking the internal exec command.
func TestAlluxioFileUtils_ReportSummary(t *testing.T) {
ExecCommon := func(a AlluxioFileUtils, command []string, verbose bool) (stdout string, stderr string, err error) {
return "Alluxio cluster summary", "", nil
}
Expand Down