Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tracing/opencensus/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func TestHTTPClientTrace(t *testing.T) {
var (
err error
rec = &recordingExporter{}
rURL, _ = url.Parse("http://test.com/dummy/path")
rURL, _ = url.Parse("https://httpbin.org/get")
)

trace.RegisterExporter(rec)
Expand Down Expand Up @@ -72,7 +72,7 @@ func TestHTTPClientTrace(t *testing.T) {
t.Errorf("incorrect span name, want %s, have %s", want, have)
}

if want, have := "GET /dummy/path", span.Name; want != have && tr.name == "" {
if want, have := "GET /get", span.Name; want != have && tr.name == "" {
t.Errorf("incorrect span name, want %s, have %s", want, have)
}

Expand Down
2 changes: 1 addition & 1 deletion tracing/zipkin/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestHTTPClientTracePropagatesParentSpan(t *testing.T) {

tr, _ := zipkin.NewTracer(rec)

rURL, _ := url.Parse("http://test.com")
rURL, _ := url.Parse("https://httpbin.org/get")

clientTracer := zipkinkit.HTTPClientTrace(tr)
ep := kithttp.NewClient(
Expand Down