Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkg/ddc/alluxio/metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,10 @@ func TestRestoreMetadataInternal(t *testing.T) {
wrappedUnhookQueryMetaDataInfoIntoFile()
}

// TestSyncMetadataInternal tests the internal metadata synchronization logic of AlluxioEngine.
// It verifies that after calling syncMetadataInternal, the Dataset status is correctly updated
// with expected values such as UfsTotal and FileNum. The test uses a fake client and predefined
// datasets to simulate the environment and validate correct behavior under controlled conditions.
func TestSyncMetadataInternal(t *testing.T) {
datasetInputs := []datav1alpha1.Dataset{
{
Expand Down
Loading