We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3801d5 commit 7c12b66Copy full SHA for 7c12b66
1 file changed
pkg/ddc/efc/metadata_test.go
@@ -28,6 +28,12 @@ import (
28
"k8s.io/apimachinery/pkg/runtime"
29
)
30
31
+
32
+// TestSyncMetadataInternal tests the syncMetadataInternal method of EFCEngine.
33
+// It verifies the method's behavior under different scenarios:
34
+// 1. When TotalStorageBytes returns an error
35
+// 2. When TotalFileNums returns an error
36
+// 3. When both TotalStorageBytes and TotalFileNums succeed
37
func TestSyncMetadataInternal(t *testing.T) {
38
mockTotalStorageBytesCommon := func(e *EFCEngine) (int64, error) {
39
return 0, nil
0 commit comments