-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add comments to TestAlluxioFileUtils_ReportSummary in pkg/ddc/alluxio… #6021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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) { | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These three new lines all start with a leading tab, which pushes the |
||
| ExecCommon := func(a AlluxioFileUtils, command []string, verbose bool) (stdout string, stderr string, err error) { | ||
| return "Alluxio cluster summary", "", nil | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once the indentation is fixed, the wording is fine, but for consistency with the comments on
TestAlluxioFileUtils_LoadMetaDataand similar tests just below, you could keep the same two-line shape ("... tests the AlluxioFileUtils.X method / for both failure and success cases by mocking the internal exec command."). The current text already aligns with that pattern, so this is purely a polish suggestion.