projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
21508: Fix cross origin io parameter image previews
[arvados.git]
/
services
/
keepproxy
/
keepproxy_test.go
diff --git
a/services/keepproxy/keepproxy_test.go
b/services/keepproxy/keepproxy_test.go
index 7efba2348b6593a1232edb6c719253ef388674dd..2c73e2d1040d1b37df4e77375b5a859d3187565e 100644
(file)
--- a/
services/keepproxy/keepproxy_test.go
+++ b/
services/keepproxy/keepproxy_test.go
@@
-32,8
+32,8
@@
import (
. "gopkg.in/check.v1"
)
. "gopkg.in/check.v1"
)
-// Gocheck boilerplate
func Test(t *testing.T) {
func Test(t *testing.T) {
+ keepclient.DefaultRetryDelay = time.Millisecond
TestingT(t)
}
TestingT(t)
}
@@
-346,7
+346,7
@@
func (s *ServerRequiredSuite) TestPutAskGet(c *C) {
}
{
}
{
- reader, _, _, err := kc.Get(hash)
+ reader, _, _, err := kc.Get(hash
+ "+3"
)
c.Check(reader, Equals, nil)
c.Check(err, Equals, keepclient.BlockNotFound)
c.Log("Finished Get (expected BlockNotFound)")
c.Check(reader, Equals, nil)
c.Check(err, Equals, keepclient.BlockNotFound)
c.Log("Finished Get (expected BlockNotFound)")