Skip to content

Commit

Permalink
update test var name
Browse files Browse the repository at this point in the history
  • Loading branch information
jj22ee committed Oct 4, 2024
1 parent 54594a5 commit 80f4bb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samplers/aws/xray/remote_sampler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ func TestRemoteSamplerDescription(t *testing.T) {
}

func TestNewRemoteSamplerDescription(t *testing.T) {
endpointUrl, _ := url.Parse("http://localhost:2000")
rs, _ := NewRemoteSampler(context.Background(), "otel-test", "", WithEndpoint(*endpointUrl), WithSamplingRulesPollingInterval(300*time.Second))
endpointURL, _ := url.Parse("http://localhost:2000")
rs, _ := NewRemoteSampler(context.Background(), "otel-test", "", WithEndpoint(*endpointURL), WithSamplingRulesPollingInterval(300*time.Second))

s := rs.Description()
assert.Equal(t, "ParentBased{root:AWSXRayRemoteSampler{remote sampling with AWS X-Ray},remoteParentSampled:AlwaysOnSampler,remoteParentNotSampled:AlwaysOffSampler,localParentSampled:AlwaysOnSampler,localParentNotSampled:AlwaysOffSampler}", s)
Expand Down

0 comments on commit 80f4bb0

Please sign in to comment.