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 ce23e9f commit 43afb54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions flytestdlib/storage/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ import (
"github.com/flyteorg/flyte/flytestdlib/promutils"
)

func TestDataReference_New(t *testing.T) {
scheme := "s3"
container := "container"
key := "path/to/file"
dataReference := NewDataReference(scheme, container, key)
assert.Equal(t, DataReference("s3://container/path/to/file"), dataReference)
}

func TestDataReference_Split(t *testing.T) {
input := DataReference("s3://container/path/to/file")
scheme, container, key, err := input.Split()
Expand Down

0 comments on commit 43afb54

Please sign in to comment.