15000: Accept negative durations in config, fix crashing error log.
[arvados.git] / services / keepproxy / keepproxy_test.go
index b5e30de4e44f55352285730896cbf8f901ea69cb..dc70d968e2992a16581694ac70bbf42ba92f93ba 100644 (file)
@@ -186,9 +186,6 @@ func (s *ServerRequiredSuite) TestStorageClassesHeader(c *C) {
        content := []byte("Very important data")
        _, _, err := kc.PutB(content)
        c.Check(err, NotNil)
-       // errNotFound, _ := err.(*keepclient.ErrNotFound)
-       // c.Check(errNotFound.Temporary(), Equals, true)
-       // c.Assert(err, ErrorMatches, ".*connection refused.*")
        c.Check(hdr.Get("X-Keep-Storage-Classes"), Equals, "secure")
 }
 
@@ -620,7 +617,7 @@ func (s *ServerRequiredSuite) TestAskGetKeepProxyConnectionError(c *C) {
        kc := runProxy(c, nil, false)
        defer closeListener()
 
-       // Point keepproxy to a non-existant keepstore
+       // Point keepproxy at a non-existent keepstore
        locals := map[string]string{
                TestProxyUUID: "http://localhost:12345",
        }