Skip to content

Commit

Permalink
Add multi file error aggregation strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
bgedik committed Oct 9, 2024
1 parent 5bb0351 commit fa982c3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (
"github.com/flyteorg/flyte/flytestdlib/contextutils"
"github.com/flyteorg/flyte/flytestdlib/promutils"
"github.com/flyteorg/flyte/flytestdlib/promutils/labeled"
"github.com/flyteorg/flyte/flytestdlib/storage"
)

type extendedFakeClient struct {
Expand Down Expand Up @@ -163,6 +164,10 @@ func (d *dummyOutputWriter) Put(ctx context.Context, reader io.OutputReader) err
return nil
}

func (d *dummyOutputWriter) GetErrorPath() storage.DataReference {
return ""
}

func getMockTaskContext(initPhase PluginPhase, wantPhase PluginPhase) pluginsCore.TaskExecutionContext {
taskExecutionContext := &pluginsCoreMock.TaskExecutionContext{}
taskExecutionContext.OnTaskExecutionMetadata().Return(getMockTaskExecutionMetadata())
Expand Down

0 comments on commit fa982c3

Please sign in to comment.