Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
rbarazzutti committed Dec 27, 2021
1 parent 8fce632 commit 036992e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/sockettrace/adapter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ func TestInterceptionOfHTTPRequest(t *testing.T) {

req = req.WithContext(traceCtx)

_, _ = httpClient.Do(req)
_, err := httpClient.Do(req)

if !tcpStartedA || !tcpEstablishedA || !tcpStartedB || !tcpEstablishedB {
if err != nil || !tcpStartedA || !tcpEstablishedA || !tcpStartedB || !tcpEstablishedB {
t.Fatal("interception of TCP connection failed")
}

Expand Down

0 comments on commit 036992e

Please sign in to comment.