X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e6617f0bff3521135bc63b229260fdfb7b9dc331..d12160e0b194eed8b059a54d92075fa1c6dfcd10:/lib/controller/server_test.go diff --git a/lib/controller/server_test.go b/lib/controller/server_test.go index 803315bc66..edc5fd117d 100644 --- a/lib/controller/server_test.go +++ b/lib/controller/server_test.go @@ -5,6 +5,7 @@ package controller import ( + "context" "net/http" "os" "path/filepath" @@ -45,7 +46,9 @@ func newServerFromIntegrationTestEnv(c *check.C) *httpserver.Server { srv := &httpserver.Server{ Server: http.Server{ - Handler: httpserver.AddRequestIDs(httpserver.LogRequests(log, handler)), + Handler: httpserver.HandlerWithContext( + ctxlog.Context(context.Background(), log), + httpserver.AddRequestIDs(httpserver.LogRequests(handler))), }, Addr: ":", }