From d3a78ed0deabd7915f31e25b89acac2ac5cc07d3 Mon Sep 17 00:00:00 2001 From: gaowenju Date: Wed, 21 Aug 2024 19:21:17 +0800 Subject: [PATCH] test: debug --- pkg/app/client/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/app/client/client_test.go b/pkg/app/client/client_test.go index 33334da29..5d219388d 100644 --- a/pkg/app/client/client_test.go +++ b/pkg/app/client/client_test.go @@ -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)