Skip to content

Commit

Permalink
tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua MacDonald committed Jun 22, 2021
1 parent 09257e8 commit b78c664
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions launcher/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/baggage"
"go.opentelemetry.io/otel/sdk/resource"
"go.opentelemetry.io/otel/semconv/v1.4.0"
)

const (
Expand Down Expand Up @@ -316,7 +317,7 @@ func TestDefaultConfig(t *testing.T) {
AccessToken: "",
LogLevel: "info",
Propagators: []string{"b3"},
Resource: resource.NewWithAttributes("schema", attributes...),
Resource: resource.NewWithAttributes(semconv.SchemaURL, attributes...),
logger: logger,
errorHandler: handler,
}
Expand Down Expand Up @@ -352,7 +353,7 @@ func TestEnvironmentVariables(t *testing.T) {
AccessToken: "token",
LogLevel: "debug",
Propagators: []string{"b3", "w3c"},
Resource: resource.NewWithAttributes("schema", attributes...),
Resource: resource.NewWithAttributes(semconv.SchemaURL, attributes...),
logger: logger,
errorHandler: handler,
}
Expand Down Expand Up @@ -399,7 +400,7 @@ func TestConfigurationOverrides(t *testing.T) {
AccessToken: "override-access-token",
LogLevel: "info",
Propagators: []string{"b3"},
Resource: resource.NewWithAttributes("schema", attributes...),
Resource: resource.NewWithAttributes(semconv.SchemaURL, attributes...),
logger: logger,
errorHandler: handler,
}
Expand Down

0 comments on commit b78c664

Please sign in to comment.