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
6 changes: 6 additions & 0 deletions pkg/ddc/juicefs/data_migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,12 @@ func TestJuiceFSEngine_genDataUrl(t *testing.T) {
}
}

// TestJuiceFSEngine_setParallelMigrateOptions tests the setParallelMigrateOptions method of JuiceFSEngine.
// This method is responsible for setting parallel migration options, including SSH port and SSH ready timeout.
// The test cases cover:
// 1. Normal scenario where parallel migration options are set correctly.
// 2. Default values are used when no parallel options are provided.
// 3. Error scenario where invalid parallel options are provided.
func TestJuiceFSEngine_setParallelMigrateOptions(t *testing.T) {
type args struct {
dataMigrateInfo *cdatamigrate.DataMigrateInfo
Expand Down
Loading