Skip to content

Commit 164eab4

Browse files
authored
This PR is to add comments to TestFreeStorageBytes in pkg\ddc\alluxio\ufs_test.go. (#5068)
* Add comments/notation to TestFreeStorageBytes in pkg\ddc\alluxio\ufs_test.go. Signed-off-by: lyp <1105586657@qq.com> * Add comments/notation to TestFreeStorageBytes in pkg\ddc\alluxio\ufs_test.go. Signed-off-by: lyp <1105586657@qq.com> * Add comments/notation to TestFreeStorageBytes in pkg\ddc\alluxio\ufs_test.go. Signed-off-by: lyp <1105586657@qq.com> --------- Signed-off-by: lyp <1105586657@qq.com>
1 parent 8afb428 commit 164eab4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pkg/ddc/alluxio/ufs_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ func TestUsedStorageBytes(t *testing.T) {
8484
}
8585
}
8686

87+
// TestFreeStorageBytes is a unit test for the AlluxioEngine.FreeStorageBytes method.
88+
// This test function defines a set of test cases, each including the expected return value and a flag indicating whether an error is expected.
89+
// The test invokes the FreeStorageBytes method and checks whether the returned value matches the expected result and whether error handling is performed correctly.
8790
func TestFreeStorageBytes(t *testing.T) {
8891
type fields struct {
8992
}

0 commit comments

Comments
 (0)