Skip to content

Commit

Permalink
fix: allow benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
vlastahajek committed Sep 9, 2022
1 parent 9a132ec commit 21f5a82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/test/http_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ func (t *HTTPService) DoPostRequest(_ context.Context, url string, body io.Reade
body, _ = gzip.NewReader(body)
t.wasGzip = true
}
assert.Equal(t.t, fmt.Sprintf("%swrite?bucket=my-bucket&org=my-org&precision=ns", t.serverURL), url)
if t.t != nil {
assert.Equal(t.t, fmt.Sprintf("%swrite?bucket=my-bucket&org=my-org&precision=ns", t.serverURL), url)
}

if t.ReplyError() != nil {
return t.ReplyError()
Expand Down

0 comments on commit 21f5a82

Please sign in to comment.