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
8 changes: 8 additions & 0 deletions pkg/ddc/jindo/create_volume_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ func TestCreateVolume(t *testing.T) {
}
}

// TestCreateFusePersistentVolume tests the createFusePersistentVolume method of the JindoEngine.
// It verifies that a PersistentVolume can be successfully created based on the given runtime and dataset.
// The test flow includes:
// - Building a RuntimeInfo instance
// - Creating a test Dataset object
// - Initializing the JindoEngine with a fake client
// - Executing the createFusePersistentVolume method
// - Checking that exactly one PersistentVolume has been created
func TestCreateFusePersistentVolume(t *testing.T) {
runtimeInfo, err := base.BuildRuntimeInfo("hbase", "fluid", common.JindoRuntime)
if err != nil {
Expand Down
Loading