X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c14246b9a21d038fc6fa850f4032659a98397784..0561bd0c3c07257fd58ded6c7cfa5feeae97af57:/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{}{} }()