Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rarguelloF committed Sep 16, 2024
1 parent 05001b3 commit 6544831
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _integration-tests/tests/gin/gin.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (tc *TestCase) Teardown(t *testing.T) {
require.NoError(t, tc.Server.Shutdown(ctx))
}

func (*TestCase) ExpectedTraces() trace.Spans {
func (tc *TestCase) ExpectedTraces() trace.Spans {
return trace.Spans{
{
// NB: Top-level span is from the HTTP Client, which is library-side instrumented.
Expand All @@ -62,7 +62,7 @@ func (*TestCase) ExpectedTraces() trace.Spans {
"type": "http",
},
Meta: map[string]any{
"http.url": "http://127.0.0.1:8080/ping",
"http.url": "http://" + tc.Server.Addr + "/ping",
},
Children: trace.Spans{
{
Expand All @@ -72,7 +72,7 @@ func (*TestCase) ExpectedTraces() trace.Spans {
"type": "web",
},
Meta: map[string]any{
"http.url": "http://127.0.0.1:8080/ping",
"http.url": "http://" + tc.Server.Addr + "/ping",
},
},
},
Expand Down

0 comments on commit 6544831

Please sign in to comment.