From 8eeda4944309486a1b096a7c1d7107ebf2541fa3 Mon Sep 17 00:00:00 2001 From: DonLangTswn Date: Wed, 28 May 2025 15:38:57 +0800 Subject: [PATCH] Add Notation to TestUsedStorageBytes in pkg/ddc/alluxio/ufs_test.go Signed-off-by: DonLangTswn --- pkg/ddc/alluxio/ufs_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/ddc/alluxio/ufs_test.go b/pkg/ddc/alluxio/ufs_test.go index 9b04fc1a61a..f395aa96805 100644 --- a/pkg/ddc/alluxio/ufs_test.go +++ b/pkg/ddc/alluxio/ufs_test.go @@ -50,6 +50,9 @@ func mockExecCommandInContainerForTotalFileNums() (stdout string, stderr string, return r, "", nil } +// TestUsedStorageBytes tests the UsedStorageBytes method of the AlluxioEngine. +// It verifies that the method returns the expected used storage value and error status. +// Currently, it checks a basic case where the expected used storage is 0 and no error is expected. func TestUsedStorageBytes(t *testing.T) { type fields struct { }