X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/50128b53da4003912635b03fb27b5be2c5beaca1..0f644e242ef37c911ad3dc25aca8135c339de349:/services/keepstore/handler_test.go diff --git a/services/keepstore/handler_test.go b/services/keepstore/handler_test.go index 9708b4e6be..751a4a77e3 100644 --- a/services/keepstore/handler_test.go +++ b/services/keepstore/handler_test.go @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + // Tests for Keep HTTP handlers: // // GetBlockHandler @@ -958,7 +962,7 @@ func TestGetHandlerClientDisconnect(t *testing.T) { ok := make(chan struct{}) go func() { req, _ := http.NewRequest("GET", fmt.Sprintf("/%s+%d", TestHash, len(TestBlock)), nil) - (&LoggingRESTRouter{MakeRESTRouter()}).ServeHTTP(resp, req) + (&LoggingRESTRouter{router: MakeRESTRouter()}).ServeHTTP(resp, req) ok <- struct{}{} }()