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
10 changes: 10 additions & 0 deletions pkg/ddc/alluxio/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,16 @@ Worker Name Last Heartbeat Storage MEM
return r, "", nil
}

// TestGetDataSetFileNum tests the getDataSetFileNum method of AlluxioEngine.
// It verifies the behavior by mocking container command execution and comparing
// actual outputs against expected values. Test cases include both success and
// error scenarios.
//
// Parameters:
// - t *testing.T: Testing framework handle for assertions and logging.
//
// Returns:
// - None (test failures are reported via t.Errorf or t.Fatal).
func TestGetDataSetFileNum(t *testing.T) {
type fields struct {
runtime *datav1alpha1.AlluxioRuntime
Expand Down
Loading