Skip to content

Commit

Permalink
test: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
welkeyever committed Aug 21, 2024
1 parent 4fa3884 commit d3a78ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func TestClientReadTimeout(t *testing.T) {

if err := c.Do(context.Background(), req, res); !errors.Is(err, errs.ErrTimeout) {
if err == nil {
t.Errorf("expected ErrTimeout got nil, read resp body: %s", string(res.Body()))
t.Errorf("expected ErrTimeout got nil, req url: %s,read resp body: %s", string(req.URI().FullURI()), string(res.Body()))
} else {
if !strings.Contains(err.Error(), "timeout") {
t.Errorf("expected ErrTimeout got %#v", err)
Expand Down

0 comments on commit d3a78ed

Please sign in to comment.