We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dace4f commit c130776Copy full SHA for c130776
internal/component/otelcol/receiver/awss3/awss3_test.go
@@ -10,6 +10,22 @@ import (
10
"github.com/grafana/alloy/syntax"
11
)
12
13
+func TestArguments_Defaults(t *testing.T) {
14
+ // Test to detect if upstream defaults are changed or any other breaking changes introduced.
15
+ expect := awss3.Arguments{
16
+ S3Downloader: awss3.S3DownloaderConfig{
17
+ Region: "us-east-1",
18
+ S3Partition: awss3receiver.S3PartitionMinute,
19
+ EndpointPartitionID: "aws",
20
+ },
21
+ }
22
+
23
+ var args awss3.Arguments
24
+ args.SetToDefault()
25
26
+ require.Equal(t, expect, args)
27
+}
28
29
func TestArguments_UnmarshalAlloy(t *testing.T) {
30
cases := []struct {
31
name string
0 commit comments