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