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
9 changes: 9 additions & 0 deletions pkg/ddc/alluxio/transform_ufs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ func TestTransformDatasetToPVC(t *testing.T) {
}
}

// TestTransformDatasetWithAffinity is a unit test function that verifies the behavior of the
// transformDatasetToVolume method when a Dataset with NodeAffinity is provided.
// It ensures that the NodeAffinity configuration is correctly transferred to the Alluxio master's affinity settings.
//
// Parameters:
// - t: *testing.T, the Go testing framework's object used to manage the test execution and report failures.
//
// Return value:
// - None (this is a test function, and it does not return any values).
func TestTransformDatasetWithAffinity(t *testing.T) {
var ufsPath = UFSPath{}
ufsPath.Name = "test"
Expand Down
Loading