We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d135be commit 8cfb899Copy full SHA for 8cfb899
1 file changed
pkg/ddc/alluxio/metadata_test.go
@@ -701,6 +701,10 @@ func TestRestoreMetadataInternal(t *testing.T) {
701
wrappedUnhookQueryMetaDataInfoIntoFile()
702
}
703
704
+// TestSyncMetadataInternal tests the internal metadata synchronization logic of AlluxioEngine.
705
+// It verifies that after calling syncMetadataInternal, the Dataset status is correctly updated
706
+// with expected values such as UfsTotal and FileNum. The test uses a fake client and predefined
707
+// datasets to simulate the environment and validate correct behavior under controlled conditions.
708
func TestSyncMetadataInternal(t *testing.T) {
709
datasetInputs := []datav1alpha1.Dataset{
710
{
0 commit comments