Skip to content

Commit 8cfb899

Browse files
authored
Modify Notation to TestSyncMetadataInternal (#4952)
Signed-off-by: win10true <2606804330@qq.com>
1 parent 8d135be commit 8cfb899

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/ddc/alluxio/metadata_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,10 @@ func TestRestoreMetadataInternal(t *testing.T) {
701701
wrappedUnhookQueryMetaDataInfoIntoFile()
702702
}
703703

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.
704708
func TestSyncMetadataInternal(t *testing.T) {
705709
datasetInputs := []datav1alpha1.Dataset{
706710
{

0 commit comments

Comments
 (0)