Skip to content

Commit

Permalink
[chore] move awss3 to be tested with a generated test (#29735)
Browse files Browse the repository at this point in the history
This change is part of
#27849
  • Loading branch information
atoulme authored Dec 11, 2023
1 parent 609d562 commit 95cb733
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 2 deletions.
121 changes: 121 additions & 0 deletions exporter/awss3exporter/generated_component_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion exporter/awss3exporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ go 1.20

require (
github.com/aws/aws-sdk-go v1.48.14
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.90.1
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/collector/component v0.90.2-0.20231208183206-eed3b4e9c5ef
go.opentelemetry.io/collector/confmap v0.90.2-0.20231208183206-eed3b4e9c5ef
go.opentelemetry.io/collector/consumer v0.90.2-0.20231208183206-eed3b4e9c5ef
go.opentelemetry.io/collector/exporter v0.90.2-0.20231208183206-eed3b4e9c5ef
go.opentelemetry.io/collector/otelcol v0.90.2-0.20231208183206-eed3b4e9c5ef
Expand Down Expand Up @@ -61,7 +63,6 @@ require (
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/collector v0.90.2-0.20231208183206-eed3b4e9c5ef // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.90.2-0.20231208183206-eed3b4e9c5ef // indirect
go.opentelemetry.io/collector/confmap v0.90.2-0.20231208183206-eed3b4e9c5ef // indirect
go.opentelemetry.io/collector/connector v0.90.2-0.20231208183206-eed3b4e9c5ef // indirect
go.opentelemetry.io/collector/extension v0.90.2-0.20231208183206-eed3b4e9c5ef // indirect
go.opentelemetry.io/collector/featuregate v1.0.1-0.20231208183206-eed3b4e9c5ef // indirect
Expand Down Expand Up @@ -98,7 +99,15 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal => ../../internal/coreinternal

retract (
v0.76.2
v0.76.1
)

replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil => ../../pkg/pdatautil

replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest => ../../pkg/pdatatest

replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden => ../../pkg/golden
2 changes: 1 addition & 1 deletion exporter/awss3exporter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions exporter/awss3exporter/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ status:
distributions: [contrib, observiq, sumo]
codeowners:
active: [atoulme, pdelewski]
tests:
config:
expect_consumer_error: true

0 comments on commit 95cb733

Please sign in to comment.