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")
}
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",
}