projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
7931: Fix format/type mismatch.
[arvados.git]
/
services
/
keepstore
/
handler_test.go
diff --git
a/services/keepstore/handler_test.go
b/services/keepstore/handler_test.go
index 424910dfa8b2af4a0d22ad9e91bd4eab20076af7..f012ea3902217c55502d7aebe12b072d004985ec 100644
(file)
--- a/
services/keepstore/handler_test.go
+++ b/
services/keepstore/handler_test.go
@@
-975,7
+975,7
@@
func TestGetHandlerClientDisconnect(t *testing.T) {
ok := make(chan struct{})
go func() {
req, _ := http.NewRequest("GET", fmt.Sprintf("/%s+%d", TestHash, len(TestBlock)), nil)
ok := make(chan struct{})
go func() {
req, _ := http.NewRequest("GET", fmt.Sprintf("/%s+%d", TestHash, len(TestBlock)), nil)
-
(&LoggingRESTRouter{router: MakeRESTRouter()}
).ServeHTTP(resp, req)
+
MakeRESTRouter(
).ServeHTTP(resp, req)
ok <- struct{}{}
}()
ok <- struct{}{}
}()
@@
-1107,7
+1107,7
@@
func TestUntrashHandler(t *testing.T) {
response = IssueRequest(datamanagerWrongMethodReq)
ExpectStatusCode(t,
"Only PUT method is supported for untrash",
response = IssueRequest(datamanagerWrongMethodReq)
ExpectStatusCode(t,
"Only PUT method is supported for untrash",
- http.Status
BadRequest
,
+ http.Status
MethodNotAllowed
,
response)
// datamanagerReq => StatusOK
response)
// datamanagerReq => StatusOK