mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-23 05:13:00 -05:00
go/libraries/utils/pipeline: Fix unit test for new semantics.
This commit is contained in:
@@ -133,7 +133,7 @@ func TestParallelProcessingPipeline(t *testing.T) {
|
||||
|
||||
transform := func(ctx context.Context, in []ItemWithProps) ([]ItemWithProps, error) {
|
||||
if in == nil {
|
||||
return nil, io.EOF
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
routineIdex, ok := GetLocalStorage(ctx).Get(localStoreRoutineIndexID)
|
||||
@@ -295,7 +295,7 @@ func TestMassParallelism(t *testing.T) {
|
||||
|
||||
transform := func(_ context.Context, in []ItemWithProps) ([]ItemWithProps, error) {
|
||||
if in == nil {
|
||||
return nil, io.EOF
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
out := make([]ItemWithProps, len(in))
|
||||
|
||||
Reference in New Issue
Block a user