[ARVADOS] updated: f334535300074a0cf21c04667e063e777547482a

git at public.curoverse.com git at public.curoverse.com
Tue Sep 15 13:20:12 EDT 2015


Summary of changes:
 services/keepproxy/keepproxy_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  f334535300074a0cf21c04667e063e777547482a (commit)
      from  558574e31f56db08c82ca7c2b955e74df04242dd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit f334535300074a0cf21c04667e063e777547482a
Author: radhika <radhika at curoverse.com>
Date:   Tue Sep 15 13:16:38 2015 -0400

    6260: update keepproxy test TestPostWithoutHash to match locator+size+Ahint instead of locator+size only.

diff --git a/services/keepproxy/keepproxy_test.go b/services/keepproxy/keepproxy_test.go
index 5bd832b..22cc72e 100644
--- a/services/keepproxy/keepproxy_test.go
+++ b/services/keepproxy/keepproxy_test.go
@@ -386,8 +386,8 @@ func (s *ServerRequiredSuite) TestPostWithoutHash(c *C) {
 		c.Check(err, Equals, nil)
 		body, err := ioutil.ReadAll(resp.Body)
 		c.Check(err, Equals, nil)
-		c.Check(string(body), Equals,
-			fmt.Sprintf("%x+%d", md5.Sum([]byte("qux")), 3))
+		c.Check(string(body), Matches,
+			fmt.Sprintf(`^%x\+3(\+.+)?$`, md5.Sum([]byte("qux"))))
 	}
 }
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list