You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestParseReportSummary in pkg/ddc/alluxio/report_test.go
What comments do you want to add?
// TestParseReportSummary tests the parseReportSummary method of AlluxioEngine.
// It verifies that the method correctly parses the Alluxio report summary string
// and extracts the cache capacity and cached size information.
//
// The test case includes:
// - A mock Alluxio report summary string (mockAlluxioReportSummaryForParseReport)
// - Expected cacheStates output with cacheCapacity and cached values
//
// The test compares the parsed output with expected values and reports any discrepancies.
// This ensures the parsing logic handles the Alluxio report summary format correctly.