From 0916db7f2a3bb3890fe6031dc21941fbcaef949b Mon Sep 17 00:00:00 2001 From: gaowenju Date: Thu, 21 Sep 2023 16:39:44 +0800 Subject: [PATCH] test: fix ci --- 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 d231fac54..5f3e8c62f 100644 --- a/pkg/app/client/client_test.go +++ b/pkg/app/client/client_test.go @@ -2163,7 +2163,7 @@ func TestClientHostClientConfigHookError(t *testing.T) { req.SetMethod(consts.MethodGet) req.SetRequestURI("http://foo.bar/") resp := protocol.AcquireResponse() - err := client.do(nil, req, resp) + err := client.do(context.TODO(), req, resp) assert.DeepEqual(t, "hook return", err.Error()) }