[ARVADOS] updated: 6022ddd1b07217b9b4f31e73493fc259bd19b696
git at public.curoverse.com
git at public.curoverse.com
Sat May 10 17:18:24 EDT 2014
Summary of changes:
sdk/go/src/arvados.org/keepclient/keepclient_test.go | 9 +++++++++
1 file changed, 9 insertions(+)
via 6022ddd1b07217b9b4f31e73493fc259bd19b696 (commit)
from 28195ca73b4c86e0f17ce2db74f3d5669d344e23 (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 6022ddd1b07217b9b4f31e73493fc259bd19b696
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Sat May 10 17:18:21 2014 -0400
2798: Started adding tests that ShuffledServiceRoots behavior is consistent
with Python reference implementation.
diff --git a/sdk/go/src/arvados.org/keepclient/keepclient_test.go b/sdk/go/src/arvados.org/keepclient/keepclient_test.go
index ac0c85a..4152eb3 100644
--- a/sdk/go/src/arvados.org/keepclient/keepclient_test.go
+++ b/sdk/go/src/arvados.org/keepclient/keepclient_test.go
@@ -19,4 +19,13 @@ func (s *MySuite) TestGetKeepDisks(c *C) {
c.Assert(sr[0], Equals, "http://localhost:25107")
c.Assert(sr[1], Equals, "http://localhost:25108")
+ service_roots := []string{"http://localhost:25107", "http://localhost:25108", "http://localhost:25109", "http://localhost:25110", "http://localhost:25111", "http://localhost:25112", "http://localhost:25113", "http://localhost:25114", "http://localhost:25115", "http://localhost:25116", "http://localhost:25117", "http://localhost:25118", "http://localhost:25119", "http://localhost:25120", "http://localhost:25121", "http://localhost:25122", "http://localhost:25123"}
+
+ // "foo" acbd18db4cc2f85cedef654fccc4a4d8
+ //foo_shuffle := []string{"http://localhost:25116", "http://localhost:25120", "http://localhost:25119", "http://localhost:25122", "http://localhost:25108", "http://localhost:25114", "http://localhost:25112", "http://localhost:25107", "http://localhost:25118", "http://localhost:25111", "http://localhost:25113", "http://localhost:25121", "http://localhost:25110", "http://localhost:25117", "http://localhost:25109", "http://localhost:25115", "http://localhost:25123"}
+ ShuffledServiceRoots(service_roots, "acbd18db4cc2f85cedef654fccc4a4d8")
+
+ // "bar" 37b51d194a7513e45b56f6524f2d51f2
+ //bar_shuffle := []string{"http://localhost:25108", "http://localhost:25112", "http://localhost:25119", "http://localhost:25107", "http://localhost:25110", "http://localhost:25116", "http://localhost:25122", "http://localhost:25120", "http://localhost:25121", "http://localhost:25117", "http://localhost:25111", "http://localhost:25123", "http://localhost:25118", "http://localhost:25113", "http://localhost:25114", "http://localhost:25115", "http://localhost:25109"}
+
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list